summaryrefslogtreecommitdiffstats
path: root/bin/clean_locks
diff options
context:
space:
mode:
Diffstat (limited to 'bin/clean_locks')
-rwxr-xr-xbin/clean_locks2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/clean_locks b/bin/clean_locks
index 9799ad999..ec593a311 100755
--- a/bin/clean_locks
+++ b/bin/clean_locks
@@ -38,7 +38,7 @@ for x in sys.argv[1:]:
print y
print
- except OSError, e:
+ except OSError as e:
if e.errno in (errno.ENOENT, errno.ENOTDIR):
print "!!! %s is not a directory or does not exist" % x
else: