diff options
Diffstat (limited to 'openstack/common/lockutils.py')
| -rw-r--r-- | openstack/common/lockutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/lockutils.py b/openstack/common/lockutils.py index ef42b9b..892d821 100644 --- a/openstack/common/lockutils.py +++ b/openstack/common/lockutils.py @@ -82,7 +82,7 @@ class _InterProcessLock(object): # to have a laughable 10 attempts "blocking" mechanism. self.trylock() return self - except IOError, e: + except IOError as e: if e.errno in (errno.EACCES, errno.EAGAIN): # external locks synchronise things like iptables # updates - give it some time to prevent busy spinning |
