huge cleanup for removing mutables used as default
[sfa.git] / sfa / managers / registry_manager.py
index 7306380..5a49d47 100644 (file)
@@ -237,7 +237,8 @@ class RegistryManager:
     
         return records
     
-    def List (self, api, xrn, origin_hrn=None, options={}):
+    def List (self, api, xrn, origin_hrn=None, options=None):
+        if options is None: options={}
         dbsession=api.dbsession()
         # load all know registry names into a prefix tree and attempt to find
         # the longest matching prefix