diff options
author | Alexander Nestorov <alexandernst@gmail.com> | 2014-09-18 23:18:45 +0200 |
---|---|---|
committer | Alexander Nestorov <alexandernst@gmail.com> | 2014-09-18 23:18:45 +0200 |
commit | 53acb7bf0fa4ecbf9006d53c07b9010cd3fcf968 (patch) | |
tree | 722b7be639f428b6c5874c02ee315b31355b9c2a /GitAutoDeploy.py | |
parent | b8ac9382dcd173913f463a9af02c422e76365e29 (diff) | |
download | Git-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-x | GitAutoDeploy.py | 2 |
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): |