From 20aa416a4b4aab009f14b3a910956e7a201861da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 23 Jan 2014 10:40:23 +0100 Subject: [PATCH] Small logic fix in Update Project: --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index db61696c..ec370ee8 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -848,7 +848,7 @@ def getsrclib(spec, srclib_dir, srclibpaths=[], subdir=None, target=None, raise BuildException("Error running prepare command for srclib %s" % name, p.stdout) - if srclib["Update Project"] == "Yes" and autoupdate and not number: + if srclib["Update Project"] == "Yes" and not (autoupdate and number): print "Updating srclib %s at path %s" % (name, libdir) cmd = [os.path.join(config['sdk_path'], 'tools', 'android'), 'update', 'project', '-p', libdir]