fix name error
authorTony Mack <tmack@cs.princeton.edu>
Tue, 12 Jan 2010 17:20:30 +0000 (17:20 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 12 Jan 2010 17:20:30 +0000 (17:20 +0000)
sfa/managers/registry_manager_pl.py

index 77fbf17..686518e 100644 (file)
@@ -67,7 +67,7 @@ def resolve(api, xrns, type=None, origin_hrn=None):
 
     # load all know registry names into a prefix tree and attempt to find
     # the longest matching prefix
-    if not isinstance(hrns, types.ListType):
+    if not isinstance(xrns, types.ListType):
         xrns = [xrns]
     
     # create a dict whre key is an registry hrn and its value is a