mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
move getappname+getcvname to checkupdates, the only place they're used
This commit is contained in:
parent
fdede914cd
commit
3b5e3a62a3
2 changed files with 23 additions and 23 deletions
|
@ -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'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue