phase2: remove duplicate branch argument
authorJo-Philipp Wich <jo@mein.io>
Mon, 14 Nov 2016 14:38:21 +0000 (15:38 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 14 Nov 2016 14:38:21 +0000 (15:38 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase2/master.cfg

index ad84ab202fd185688a898c874fa959a31119f896..c3e2600c463f626e775890aab6c9c5e95622dcaf 100644 (file)
@@ -122,7 +122,7 @@ with open(home_dir+'/source.git/feeds.conf.default', 'r') as f:
                        feeds.append(parts)
                        url = parts[2].strip().split(';')
                        branch = url[1] if len(url) > 1 else 'master'
-                       c['change_source'].append(GitPoller(url[0], branch=branch, workdir='%s/%s.git' %(os.getcwd(), parts[1]), branch='master', pollinterval=300))
+                       c['change_source'].append(GitPoller(url[0], branch=branch, workdir='%s/%s.git' %(os.getcwd(), parts[1]), pollinterval=300))
 
 
 ####### SCHEDULERS