Another typo
authorSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 13 Jul 2009 20:57:51 +0000 (20:57 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 13 Jul 2009 20:57:51 +0000 (20:57 +0000)
sfa/methods/get_resources.py

index 3dd3658..2d84656 100644 (file)
@@ -31,7 +31,7 @@ class get_resources(Method):
     returns = Parameter(str, "String representatin of an rspec")
     
     def call(self, cred, hrn=None):
-        sfa_aggregate_type = Config().get_aggregate_rspec_type()=='pl'
+        sfa_aggregate_type = Config().get_aggregate_rspec_type()
         if (sfa_aggregate_type == 'pl'):
             self.api.auth.check(cred, 'listnodes')
             nodes = Nodes(self.api)