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

index ec56127..77fbf17 100644 (file)
@@ -79,7 +79,7 @@ def resolve(api, xrns, type=None, origin_hrn=None):
     tree.load(registry_hrns)
     for xrn in xrns:
         registry_hrn = tree.best_match(urn_to_hrn(xrn)[0])
-        if registry_hrn not in hrn_dict:
+        if registry_hrn not in xrn_dict:
             xrn_dict[registry_hrn] = []
         xrn_dict[registry_hrn].append(xrn)