[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Fix pychecker errors
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv15832/lib/mixminion/server
Modified Files:
ServerMain.py
Log Message:
Fix pychecker errors
Index: ServerMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerMain.py,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- ServerMain.py 5 Jun 2003 05:24:23 -0000 1.70
+++ ServerMain.py 5 Jun 2003 05:34:56 -0000 1.71
@@ -85,7 +85,7 @@
if e.errno == errno.ENOENT:
# The file doesn't exist; the version must be '1000'.
dirVersion = "1000"
- elif e.errno == errnoe.EACCES:
+ elif e.errno == errno.EACCES:
raise UIError("You don't have permission to read %s"%
versionFile)
else:
@@ -1133,7 +1133,7 @@
keep = 0
for keyset in keysets:
try:
- inf = keyset.getServerDescriptor()
+ _ = keyset.getServerDescriptor()
keep += 1
except mixminion.Config.ConfigError, e:
errors += 1
@@ -1194,7 +1194,6 @@
homeDir = config['Server']['Homedir']
keyDir = os.path.join(homeDir, 'keys')
hashDir = os.path.join(homeDir, 'work', 'hashlogs')
- keysets = []
if not os.path.exists(keyDir):
print >>sys.stderr, "No server keys to delete"
else: