projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for post-1.6.0 (1.6.90).
[openvswitch]
/
python
/
ovs
/
ovsuuid.py
diff --git
a/python/ovs/ovsuuid.py
b/python/ovs/ovsuuid.py
index 8da36c6c355730b6bd1cddc73a41ca094472140d..31c9bccd571abab8bc01748b30e2400e2856e72c 100644
(file)
--- a/
python/ovs/ovsuuid.py
+++ b/
python/ovs/ovsuuid.py
@@
-21,6
+21,7
@@
import ovs.db.parser
uuidRE = re.compile("^xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx$"
.replace('x', '[0-9a-fA-F]'))
uuidRE = re.compile("^xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx$"
.replace('x', '[0-9a-fA-F]'))
+
def zero():
return uuid.UUID(int=0)
def zero():
return uuid.UUID(int=0)
@@
-51,7
+52,7
@@
def from_json(json, symtab=None):
raise e
if name not in symtab:
raise e
if name not in symtab:
- symtab[name] = uuid4()
+ symtab[name] = uuid
.uuid
4()
return symtab[name]
return symtab[name]