From: Hans-Christoph Steiner Date: Fri, 2 May 2014 02:32:54 +0000 (-0400) Subject: fix PEP8 "E712 comparison to True should be 'if cond is True:' or 'if cond:'" X-Git-Tag: 0.2~89^2~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fcca0ddb1f8d3013314b89f051eacd285cc2e5a2;p=fdroidserver.git fix PEP8 "E712 comparison to True should be 'if cond is True:' or 'if cond:'" --- diff --git a/fdroidserver/server.py b/fdroidserver/server.py index 6c80a646..a817a913 100644 --- a/fdroidserver/server.py +++ b/fdroidserver/server.py @@ -154,7 +154,7 @@ def main(): logging.critical("The only commands currently supported are 'init' and 'update'") sys.exit(1) - if config.get('nonstandardwebroot') == True: + if config.get('nonstandardwebroot') is True: standardwebroot = False else: standardwebroot = True