[ovs-dev] [PATCH 1/4] ovsuuid.py: Fix use of undefined symbol.

Ethan Jackson ethan at nicira.com
Sat Sep 24 23:41:59 UTC 2011


Found by pychecker.
---
 python/ovs/ovsuuid.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/ovs/ovsuuid.py b/python/ovs/ovsuuid.py
index 8da36c6..5739fcf 100644
--- a/python/ovs/ovsuuid.py
+++ b/python/ovs/ovsuuid.py
@@ -51,7 +51,7 @@ def from_json(json, symtab=None):
             raise e
 
         if name not in symtab:
-            symtab[name] = uuid4()
+            symtab[name] = uuid.uuid4()
         return symtab[name]
 
 
-- 
1.7.6.1




More information about the dev mailing list