[FIX] non-renamed branches path handling

Is there *really* a need for them to keep working?
This commit is contained in:
xmo-odoo 2014-07-08 13:48:40 +02:00
parent 9110f3875a
commit 4cbd527565

View File

@ -482,6 +482,7 @@ class runbot_build(osv.osv):
for build in self.browse(cr, uid, ids, context=None):
if os.path.exists(build.path('odoo')):
return build.path('odoo', *l)
return build.path('openerp', *l)
def checkout(self, cr, uid, ids, context=None):
for build in self.browse(cr, uid, ids, context=context):