summaryrefslogtreecommitdiffstats
path: root/Demo/pdist
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-06 21:13:42 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-06 21:13:42 (GMT)
commitd11b68ab0834be4be76fca479cd4426eb45dfaec (patch)
treebc05f1c9ac1e0460d2f30531fcb31ab09084979e /Demo/pdist
parent7357c23ee72d687433452555018e9931159a2dfa (diff)
downloadcpython-d11b68ab0834be4be76fca479cd4426eb45dfaec.zip
cpython-d11b68ab0834be4be76fca479cd4426eb45dfaec.tar.gz
cpython-d11b68ab0834be4be76fca479cd4426eb45dfaec.tar.bz2
Fix more exception slicing.
Diffstat (limited to 'Demo/pdist')
-rwxr-xr-xDemo/pdist/cvslock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/pdist/cvslock.py b/Demo/pdist/cvslock.py
index a48c702..ffaa15e 100755
--- a/Demo/pdist/cvslock.py
+++ b/Demo/pdist/cvslock.py
@@ -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: