Merge lp:~vauxoo/openerp-tools/openerprunbot-add_many_branches-dev-moylop260 into lp:openerp-tools

Proposed by Moisés López - http://www.vauxoo.com
Status: Needs review
Proposed branch: lp:~vauxoo/openerp-tools/openerprunbot-add_many_branches-dev-moylop260
Merge into: lp:openerp-tools
Diff against target: 18 lines (+7/-1)
1 file modified
openerp-runbot/openerprunbot/core.py (+7/-1)
To merge this branch: bzr merge lp:~vauxoo/openerp-tools/openerprunbot-add_many_branches-dev-moylop260
Reviewer Review Type Date Requested Status
Nhomar - Vauxoo Pending
Moisés López - http://www.vauxoo.com Pending
OpenERP R&D Team Pending
Review via email: mp+181477@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

261. By Moisés López - http://www.vauxoo.com

[REF][openerp-runbot] Add many branches with comma separator in a input text

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'openerp-runbot/openerprunbot/core.py'
2--- openerp-runbot/openerprunbot/core.py 2013-07-09 13:52:16 +0000
3+++ openerp-runbot/openerprunbot/core.py 2013-08-22 06:49:31 +0000
4@@ -140,7 +140,13 @@
5
6 self.server_branch = server_branch
7 self.web_branch = client_web_branch or web_branch
8- self.addons_branches = addons_branches
9+ #self.addons_branches = addons_branches
10+
11+ #Split with comma into branches name, for use only one input text
12+ self.addons_branches = []
13+ for branch in (addons_branches or []):
14+ if branch:
15+ self.addons_branches.extend( branch.split(',') )
16
17 self.server = None
18 self.web = None