move getappname+getcvname to checkupdates, the only place they're used

This commit is contained in:
Hans-Christoph Steiner 2020-01-13 15:35:22 +01:00
parent fdede914cd
commit 3b5e3a62a3
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
2 changed files with 23 additions and 23 deletions

View file

@ -664,18 +664,6 @@ def getsrcname(app, build):
return "%s_%s_src.tar.gz" % (app.id, build.versionCode)
def getappname(app):
if app.Name:
return app.Name
if app.AutoName:
return app.AutoName
return app.id
def getcvname(app):
return '%s (%s)' % (app.CurrentVersion, app.CurrentVersionCode)
def get_build_dir(app):
'''get the dir that this app will be built in'''