summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
diff options
context:
space:
mode:
authorAlexander Nestorov <alexandernst@gmail.com>2014-09-20 15:20:39 +0200
committerAlexander Nestorov <alexandernst@gmail.com>2014-09-20 15:20:39 +0200
commit4cceef6a0d6a652698f2f6c978913dd909f80c9f (patch)
tree55a1cd72dde528866d5040949ebfc1f70b717ecb /GitAutoDeploy.py
parent4bc6b19c32cc83c163c3d85532c02c721e9183da (diff)
downloadGit-Auto-Deploy-4cceef6a0d6a652698f2f6c978913dd909f80c9f.zip
Git-Auto-Deploy-4cceef6a0d6a652698f2f6c978913dd909f80c9f.tar.gz
Git-Auto-Deploy-4cceef6a0d6a652698f2f6c978913dd909f80c9f.tar.bz2
Small code enhancement
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 c917d64..03357d6 100755
--- a/GitAutoDeploy.py
+++ b/GitAutoDeploy.py
@@ -186,7 +186,7 @@ class GitAutoDeployMain:
if(mpid != False):
- print 'Process with pid number', mpid, 'is using port', decport
+ print 'Process with pid number %s is using port %s' % (mpid, decport)
with open("/proc/%s/cmdline" % mpid) as f:
cmdline = f.readlines()
print 'cmdline ->', cmdline[0].replace('\x00', ' ')