commit e5d2a9cc6f21af9844bc7c6f0110fd5926f8ed0c
Author: Till Maas <opensource(a)till.name>
Date: Wed Nov 5 21:29:39 2014 +0100
process-git-requests: Remove trailing whitespace
scripts/process-git-requests/process-git-requests | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/scripts/process-git-requests/process-git-requests b/scripts/process-git-requests/process-git-requests
index 983a13f..f308cd6 100755
--- a/scripts/process-git-requests/process-git-requests
+++ b/scripts/process-git-requests/process-git-requests
@@ -226,7 +226,7 @@ def edit_package(pkgdb, request):
def run_query(bz):
querydata = {}
- querydata['column_list'] = ['id', 'creation_time',
+ querydata['column_list'] = ['id', 'creation_time',
'assigned_to', 'reporter', 'bug_status', 'resolution',
'component', 'blockedby', 'dependson', 'summary',
'status_whiteboard', 'flags']
@@ -359,11 +359,11 @@ def clean_request(items):
branches = clean_branches(items['Branches'].strip())
branches += ' master'
items['Branches'] = branches
- request['branches'] = branches.split()
+ request['branches'] = branches.split()
branches = clean_branches(items['New Branches'].strip())
items['New Branches'] = branches
- request['newbranches'] = branches.split()
+ request['newbranches'] = branches.split()
owners = items['Owners'].strip()
owners = re.sub(r',', ' ', owners)
@@ -511,7 +511,7 @@ def check_owners(fas, owner, comaintainers, cc_list):
break
return warnings
-
+
def process_new_request(bug, comment, allcomments, firstfound, pkgdb, fas, branches):
'''Parse a new package request, try to repair line wrapping, and do some
@@ -850,6 +850,7 @@ if __name__ == '__main__':
login_callback=pkgdb2client.ask_password)
pkgdb.username = options.user
+
print "Getting valid branches...."
collections = pkgdb.get_collections(
clt_status=['Active', 'Under Development'])