From 7cb8fb941f09d1ac646be334745f90e16ebd46eb Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 20 Sep 2009 10:57:44 +0000 Subject: Update syntax of 'except' statements for compatibility with Python 3. (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289 --- bin/clean_locks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/clean_locks') 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: -- cgit v1.2.3-1-g7c22