Bugfix: StandardError does not exist in Python 3.
This commit is contained in:
parent
a99098d5ad
commit
f8def5b9db
1 changed files with 1 additions and 1 deletions
|
@ -83,5 +83,5 @@ class SingleInstance(object):
|
|||
fcntl.lockf(self.fp, fcntl.LOCK_UN)
|
||||
if os.path.isfile(self.lockfile):
|
||||
os.unlink(self.lockfile)
|
||||
except StandardError as e:
|
||||
except Exception as e:
|
||||
out.exception("could not remove lockfile: %s" % e)
|
||||
|
|
Loading…
Reference in a new issue