use pprint.PrettyPrinter intead of pprint.pformat
[sfa.git] / sfa / importer / sfa-import-openstack.py
index 8000b0c..6a946c4 100755 (executable)
@@ -113,7 +113,7 @@ def main():
             person_record.sync()
 
     # Get all projects
-    projects = shell.get_projects()
+    projects = shell.auth_manager.get_projects()
     projects_dict = {}
     for project in projects:
         hrn = config.SFA_INTERFACE_HRN + '.' + project.id