Code Review
/
vfc
/
nfvo
/
lcm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update python2 to python3
[vfc/nfvo/lcm.git]
/
lcm
/
pub
/
utils
/
enumutil.py
diff --git
a/lcm/pub/utils/enumutil.py
b/lcm/pub/utils/enumutil.py
index
e06c16b
..
5b8f9bf
100644
(file)
--- a/
lcm/pub/utils/enumutil.py
+++ b/
lcm/pub/utils/enumutil.py
@@
-18,4
+18,4
@@
def enum(**enums):
def enum_to_list(e):
def enum_to_list(e):
- return [v for k, v in
e.__dict__.iteritems(
) if not k.startswith("_")]
+ return [v for k, v in
list(e.__dict__.items()
) if not k.startswith("_")]