~vauxoo/openerp-tools/openerprunbot-add_many_branches-dev-moylop260

« back to all changes in this revision

Viewing changes to openerp-runbot/openerprunbot/core.py

  • Committer: Anonymous Coward on runbot
  • Date: 2013-07-09 13:52:16 UTC
  • Revision ID: anonymous_coward_on_runbot-20130709135216-y8xiixof62vggquo
[FIX] runbot: forgot to remove debugging print and break statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
                        d['name'] = i.db_prefix + '-all'
374
374
                        break
375
375
                if d: break
376
 
            print d
377
376
            j = simplejson.dumps(d, sort_keys=True, indent=4)
378
 
            print j
379
377
            return j
380
378
        except Exception, e:
381
 
            print "exception:", e
 
379
            print "Exception in get_by_host():", e
382
380
            return simplejson.dumps({}, sort_keys=True, indent=4)
383
381
 
384
382
    def registered_teams(self):
562
560
 
563
561
        # Register team branches
564
562
        for team_name in self.registered_teams():
565
 
            break
566
563
            if self.debug: break
567
564
            if self.quit: return []
568
565
            log("Register team branches:", team=team_name)