Fix more exception slicing.

This commit is contained in:
Georg Brandl 2008-01-06 21:13:42 +00:00
parent 7357c23ee7
commit d11b68ab08
9 changed files with 15 additions and 15 deletions

View file

@ -131,7 +131,7 @@ class Lock:
return
except os.error as msg:
self.lockdir = None
if msg[0] == EEXIST:
if msg.args[0] == EEXIST:
try:
st = os.stat(self.cvslck)
except os.error: