A little better logging.
This commit is contained in:
parent
808fe8d707
commit
7c04c378e7
1 changed files with 3 additions and 2 deletions
|
@ -23,15 +23,16 @@ def handle(content):
|
||||||
'--package', package,
|
'--package', package,
|
||||||
'--verbose',
|
'--verbose',
|
||||||
] + taglist.split()
|
] + taglist.split()
|
||||||
|
print("Running %r" % cmd)
|
||||||
sp.Popen(cmd)
|
sp.Popen(cmd)
|
||||||
|
|
||||||
|
|
||||||
def main(fullname, fields, content):
|
def main(fullname, fields, content):
|
||||||
if fullname != 'releng/fedora-scm-requests':
|
if fullname != 'releng/fedora-scm-requests':
|
||||||
print("Dropping %r. Not scm request.")
|
print("Dropping %r. Not scm request." % fullname)
|
||||||
return False
|
return False
|
||||||
if 'close_status' not in fields:
|
if 'close_status' not in fields:
|
||||||
print("Dropping %r. Not closed.")
|
print("Dropping %r. Not closed." % fields)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
handle(content)
|
handle(content)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue