提交 6f5a4716 编写于 作者: A Ansgar Burchardt

daklib/upload.py (Changes): add source_name property

上级 23f02826
......@@ -269,6 +269,13 @@ class Changes(object):
self._source = Source(self.directory, source_files, self._keyrings, self._require_signature)
return self._source
@property
def source_name(self):
"""source package name
@type: str
"""
return re_field_source.match(self.changes['Source']).group('package')
@property
def binaries(self):
"""included binary packages
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册