[Zope-Checkins] CVS: Zope/pcgi/Util - killpcgi.py:1.2 pcgifile.py:1.3
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 17:18:30 -0400
Update of /cvs-repository/Zope/pcgi/Util
In directory cvs.zope.org:/tmp/cvs-serv8696/Util
Modified Files:
killpcgi.py pcgifile.py
Log Message:
Clean up indentation and trailing whitespace.
=== Zope/pcgi/Util/killpcgi.py 1.1 => 1.2 ===
--- Zope/pcgi/Util/killpcgi.py:1.1 Mon Oct 19 16:04:51 1998
+++ Zope/pcgi/Util/killpcgi.py Wed Aug 14 17:18:29 2002
@@ -3,13 +3,13 @@
# Copyright(c) 1998, Jeff Bauer, All rights reserved.
# killpcgi is a convenience script to kill a running
-# pcgi process, provided that it is running on a
+# pcgi process, provided that it is running on a
# Unix system. You pass it the path of the pcgi info
-# file, and killpcgi will kill the running process and
+# file, and killpcgi will kill the running process and
# remove the socket/pid files.
#
# killpcgi has been built at the request of several users,
-# but you may want to first examine the script and modify it
+# but you may want to first examine the script and modify it
# to suit your environment.
#
# Bugs: skimpy error handling
@@ -64,10 +64,10 @@
os.kill(pid, 15)
print "process %d killed" % pid
# conservative approach: don't remove pid/socket files
- # unless we're reasonably certain we have killed the
+ # unless we're reasonably certain we have killed the
# running process
os.unlink(pidFile)
- if socketFile is not None:
+ if socketFile is not None:
os.unlink(socketFile)
else:
print "kill not supported for platform:", os.name
=== Zope/pcgi/Util/pcgifile.py 1.2 => 1.3 ===
--- Zope/pcgi/Util/pcgifile.py:1.2 Thu Sep 7 12:31:30 2000
+++ Zope/pcgi/Util/pcgifile.py Wed Aug 14 17:18:29 2002
@@ -9,7 +9,7 @@
# - added NT compatibility
# - improved import checking
#
-# 0.4a July 27, 1998
+# 0.4a July 27, 1998
# - added checks for executable permissions
# - print versions of relevant modules
@@ -17,7 +17,7 @@
Delimiter = '='
# no class-based exceptions due to 1.4 compatbility
-PcgiFileException='PcgiFileException'
+PcgiFileException='PcgiFileException'
class PcgiFile:
def __init__(self, pcgifile):
@@ -58,7 +58,7 @@
('CGIResponse',
CGIResponse.__version__,
CGIResponse.__file__) )
- self.module_version.append("%-20s %-7s %s" %
+ self.module_version.append("%-20s %-7s %s" %
('pcgifile',
__version__,
sys.argv[0]) )
@@ -250,7 +250,7 @@
def environList(self):
"""
- return a sorted list of how the environment would likely appear
+ return a sorted list of how the environment would likely appear
if run through the pcgi-wrapper.
"""
e = []