From: Torsten Werner Date: Fri, 28 Jan 2011 22:08:39 +0000 (+0100) Subject: Add location_id to return value of str(somelocation). X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cee1cdafb0e66fb17f97c9c71ba0cb0a62a1813b;p=dak Add location_id to return value of str(somelocation). Signed-off-by: Torsten Werner --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index e8a68390..3dd73b3c 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -1583,7 +1583,8 @@ class Location(ORMObject): self.archive_type = 'pool' def properties(self): - return ['path', 'archive_type', 'component', 'files_count'] + return ['path', 'location_id', 'archive_type', 'component', \ + 'files_count'] def not_null_constraints(self): return ['path', 'archive_type']