mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Resolve some autoname problems
This commit is contained in:
parent
ed64737678
commit
6e904fba74
@ -268,6 +268,11 @@ def main():
|
||||
writeit = True
|
||||
logmsg = "Update current version of " + app['id'] + " to " + version
|
||||
|
||||
# Do the Auto Name thing...
|
||||
if len(app["Repo Type"]) > 0:
|
||||
|
||||
try:
|
||||
|
||||
if app['Repo Type'] == 'srclib':
|
||||
app_dir = os.path.join('build', 'srclib', app['Repo'])
|
||||
else:
|
||||
@ -285,6 +290,8 @@ def main():
|
||||
app['Auto Name'] = new_name
|
||||
if not writeit:
|
||||
writeit = True
|
||||
except Exception:
|
||||
msg = "Auto Name failed for %s due to exception: %s" % (app['id'], traceback.format_exc())
|
||||
|
||||
if options.auto:
|
||||
mode = app['Auto Update Mode']
|
||||
|
Loading…
Reference in New Issue
Block a user