[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Add location_id to return value of str(somelocation).



Signed-off-by: Torsten Werner <twerner@debian.org>
---
 daklib/dbconn.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/daklib/dbconn.py b/daklib/dbconn.py
index e8a6839..3dd73b3 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']
-- 
1.5.6.5



Reply to: