From cf129b7ac4fc5adaebb7eb245aa0e1fb5ce290b6 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 11 Oct 2016 14:51:50 +0200 Subject: [PATCH] [mod] useless variable --- src/yunohost/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 82558bfad..4e69d81d7 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -363,10 +363,9 @@ def app_upgrade(auth, app=[], url=None, file=None): if app_instance_name in upgraded_apps: continue - current_app_dict = app_info(app_instance_name, raw=True) new_app_dict = app_info(app_instance_name, raw=True) - locale_update_time = current_app_dict['settings'].get('update_time', current_app_dict['settings']['install_time']) + locale_update_time = new_app_dict['settings'].get('update_time', new_app_dict['settings']['install_time']) if file: manifest, extracted_app_folder = _extract_app_from_file(file)