Skip to content

Commit

Permalink
don't use computeRepositoryURL in __init__, as self.build doesn't exi…
Browse files Browse the repository at this point in the history
…st yet
  • Loading branch information
Dustin J. Mitchell committed Apr 28, 2010
1 parent e908b56 commit 8b6b1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildbot/steps/source.py
Expand Up @@ -1214,12 +1214,12 @@ def __init__(self, p4base=None, defaultBranch=None, p4port=None, p4user=None,
self.args['p4port'] = p4port
self.args['p4user'] = p4user
self.args['p4passwd'] = p4passwd
self.args['p4base'] = self.computeRepositoryURL(p4base)
self.args['p4extra_views'] = p4extra_views
self.p4client = p4client

def setBuild(self, build):
Source.setBuild(self, build)
self.args['p4base'] = self.computeRepositoryURL(p4base)
self.args['p4client'] = self.p4client % {
'slave': build.slavename,
'builder': build.builder.name,
Expand Down

0 comments on commit 8b6b1b3

Please sign in to comment.