projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert old style except blocks to except Exception as variable: blocks
[htsworkflow.git]
/
inventory
/
models.py
diff --git
a/inventory/models.py
b/inventory/models.py
index deefeedb64e50c37c0855d4c66fb0b24eaf214c9..d41025ad2732953a2bd6091b536c1405791efdf4 100644
(file)
--- a/
inventory/models.py
+++ b/
inventory/models.py
@@
-13,7
+13,7
@@
LOGGER = logging.getLogger(__name__)
try:
import uuid
-except ImportError
,
e:
+except ImportError
as
e:
# Some systems are using python 2.4, which doesn't have uuid
# this is a stub
LOGGER.warning('Real uuid is not available, initializing fake uuid module')