summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
diff options
context:
space:
mode:
authorAlexander Nestorov <alexandernst@gmail.com>2014-09-18 23:18:45 +0200
committerAlexander Nestorov <alexandernst@gmail.com>2014-09-18 23:18:45 +0200
commit53acb7bf0fa4ecbf9006d53c07b9010cd3fcf968 (patch)
tree722b7be639f428b6c5874c02ee315b31355b9c2a /GitAutoDeploy.py
parentb8ac9382dcd173913f463a9af02c422e76365e29 (diff)
downloadGit-Auto-Deploy-53acb7bf0fa4ecbf9006d53c07b9010cd3fcf968.zip
Git-Auto-Deploy-53acb7bf0fa4ecbf9006d53c07b9010cd3fcf968.tar.gz
Git-Auto-Deploy-53acb7bf0fa4ecbf9006d53c07b9010cd3fcf968.tar.bz2
Do not use Yoda statements
Diffstat (limited to 'GitAutoDeploy.py')
-rwxr-xr-xGitAutoDeploy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/GitAutoDeploy.py b/GitAutoDeploy.py
index 0320f71..c915c50 100755
--- a/GitAutoDeploy.py
+++ b/GitAutoDeploy.py
@@ -117,7 +117,7 @@ def main():
if(e): # wtf, why is this creating a new line?
print >> sys.stderr, e
- if(not server is None):
+ if(server is not None):
server.socket.close()
if(not GitAutoDeploy.quiet):