From: Tony Mack <tmack@paris.CS.Princeton.EDU> Date: Wed, 4 Jan 2012 19:19:02 +0000 (-0500) Subject: fix bug in summary_string() X-Git-Tag: sfa-2.0-8~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c154b4f791ce57834456cf12eea5200e5a87403a;p=sfa.git fix bug in summary_string() --- diff --git a/sfa/storage/record.py b/sfa/storage/record.py index b1f0b6b8..87d4126f 100644 --- a/sfa/storage/record.py +++ b/sfa/storage/record.py @@ -365,8 +365,8 @@ class SfaRecord(Row): print " %s: %s" % (key, self[key]) def summary_string(self): - return "Record(record_id=%s, hrn=%s, type=%s, auth=%s, pointer=%s)" % \ - (self.get('record_id'), self.get('hrn'), self.get('type'), self.get('auth'), \ + return "Record(record_id=%s, hrn=%s, type=%s, authority=%s, pointer=%s)" % \ + (self.get('record_id'), self.get('hrn'), self.get('type'), self.get('authority'), \ self.get('pointer')) def getdict(self):