fix tabs?
authorTony Mack <tmack@cs.princeton.edu>
Wed, 8 Apr 2009 01:30:48 +0000 (01:30 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 8 Apr 2009 01:30:48 +0000 (01:30 +0000)
geni/util/hierarchy.py

index 00b464d..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