# HG changeset patch
# User Julien Cristau <julien.cristau@logilab.fr>
# Date 1310987471 -7200
# Mon Jul 18 13:11:11 2011 +0200
# Node ID 2cac75cc259739fba7a035a13e59312b76916fe6
# Parent eca38cb8cd26ded79983fe3d13c5f95d51de0770
narval plugin: return list of changes files instead of nothing (closes #71032)
# User Julien Cristau <julien.cristau@logilab.fr>
# Date 1310987471 -7200
# Mon Jul 18 13:11:11 2011 +0200
# Node ID 2cac75cc259739fba7a035a13e59312b76916fe6
# Parent eca38cb8cd26ded79983fe3d13c5f95d51de0770
narval plugin: return list of changes files instead of nothing (closes #71032)
@@ -21,10 +21,11 @@
1 def _get_changes_files(checker, repository, type): 2 result = [] 3 for distrib, changesfiles in getattr(checker, 'debian_changes', {}).iteritems(): 4 for changesfile in changesfiles: 5 result.append(FilePath(path=changesfile, type=type)) 6 + return result 7 8 9 @input('changes-files', 'isinstance(elmt, FilePath)', 'elmt.type == "debian.changes"', 10 use=True, list=True) 11 @output('changes-files', 'isinstance(elmt, FilePath)', 'elmt.type == "debian.changes.uploaded"',