Skip to content

Commit

Permalink
removed references to dir
Browse files Browse the repository at this point in the history
  • Loading branch information
roder committed Jul 15, 2009
1 parent 7d8a46f commit 84a0c8a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contrib/github_buildbot.py
Expand Up @@ -106,7 +106,6 @@ def process_change(self, payload):
deferred = factory.login(credentials.UsernamePassword("change",
"changepw"))
reactor.connectTCP(host, port, factory)

deferred.addErrback(self.connectFailed)
deferred.addCallback(self.connected, changes)

Expand Down Expand Up @@ -191,11 +190,10 @@ def main():
github_bot = GitHubBuildBot()
github_bot.github = options.github
github_bot.master = options.buildmaster
github_bot.local_dir = options.dir

site = server.Site(github_bot)
reactor.listenTCP(options.port, site)
reactor.run()

if __name__ == '__main__':
main()
main()

0 comments on commit 84a0c8a

Please sign in to comment.