提交 cee1cdaf 编写于 作者: T Torsten Werner

Add location_id to return value of str(somelocation).

Signed-off-by: NTorsten Werner <twerner@debian.org>
上级 c94d8bb3
......@@ -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']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册