From: Tony Mack Date: Wed, 8 Apr 2009 01:30:48 +0000 (+0000) Subject: fix tabs? X-Git-Tag: sfa-0.9-0@14641~516 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=203188a9567f510d81ba721bd5bf6a6d5a513e8d;p=sfa.git fix tabs? --- diff --git a/geni/util/hierarchy.py b/geni/util/hierarchy.py index 00b464d6..03d71462 100644 --- a/geni/util/hierarchy.py +++ b/geni/util/hierarchy.py @@ -74,20 +74,20 @@ class AuthInfo(): def get_dbinfo(self): f = file(self.dbinfo_filename) - dict = eval(f.read()) - f.close() - return dict - + dict = eval(f.read()) + f.close() + return dict + ## # Replace the GID with a new one. The file specified by gid_filename is # overwritten with the new GID object # # @param gid object containing new GID - - def update_gid_object(self, gid): - gid.save_to_file(self.gid_filename) - self.gid_object = gid - + + def update_gid_object(self, gid): + gid.save_to_file(self.gid_filename) + self.gid_object = gid + ## # The Hierarchy class is responsible for managing the tree of authorities. # Each authority is a node in the tree and exists as an AuthInfo object.