fix tabs?
[sfa.git] / geni / util / hierarchy.py
index d262ddc..03d7146 100644 (file)
@@ -74,20 +74,20 @@ class AuthInfo():
 
     def get_dbinfo(self):
         f = file(self.dbinfo_filename)
-        dict = eval(f.read())\r
-        f.close()\r
-        return dict\r
-\r
+        dict = eval(f.read())
+        f.close()
+        return dict
+
     ##\r
     # Replace the GID with a new one. The file specified by gid_filename is\r
     # overwritten with the new GID object\r
     #\r
     # @param gid object containing new GID\r
-\r
-    def update_gid_object(self, gid):\r
-        gid.save_to_file(self.gid_filename)\r
-        self.gid_object = gid\r
-\r
+
+    def update_gid_object(self, gid):
+        gid.save_to_file(self.gid_filename)
+        self.gid_object = gid
+
 ##\r
 # The Hierarchy class is responsible for managing the tree of authorities.\r
 # Each authority is a node in the tree and exists as an AuthInfo object.\r
@@ -192,7 +192,7 @@ class Hierarchy():
 
     def get_auth_info(self, hrn):
         #report.trace("Hierarchy: getting authority: " + hrn)
-    
+   
         if not self.auth_exists(hrn):
             raise MissingAuthority(hrn)