chiark / gitweb /
fix PEP8 "E712 comparison to True should be 'if cond is True:' or 'if cond:'"
authorHans-Christoph Steiner <hans@eds.org>
Fri, 2 May 2014 02:32:54 +0000 (22:32 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 6 May 2014 15:45:03 +0000 (11:45 -0400)
fdroidserver/server.py

index 6c80a646e859fb1e7d69f9a8d751d36761ae5aa3..a817a91377b7951f1898221763648ad493163d1a 100644 (file)
@@ -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