From: Daniel Martí Date: Thu, 23 Jan 2014 09:40:23 +0000 (+0100) Subject: Small logic fix in Update Project: X-Git-Tag: 0.2~376 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=20aa416a4b4aab009f14b3a910956e7a201861da;p=fdroidserver.git Small logic fix in Update Project: --- 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]