ovsuuid.py: Fix use of undefined symbol.
authorEthan Jackson <ethan@nicira.com>
Sat, 24 Sep 2011 07:09:48 +0000 (00:09 -0700)
committerEthan Jackson <ethan@nicira.com>
Sat, 24 Sep 2011 07:16:06 +0000 (00:16 -0700)
Found by pychecker.

python/ovs/ovsuuid.py

index 8da36c6c355730b6bd1cddc73a41ca094472140d..5739fcfaf5bada293d1703a1b4cfd7677045ff55 100644 (file)
@@ -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]