[pypy-svn] buildbot default: clean up some config leftovers

RonnyPfannschmidt commits-noreply at bitbucket.org
Wed Apr 20 15:53:46 CEST 2011


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: 
Changeset: r474:32964231e586
Date: 2011-04-20 08:00 +0200
http://bitbucket.org/pypy/buildbot/changeset/32964231e586/

Log:	clean up some config leftovers

diff --git a/bitbucket_hook/hook.py b/bitbucket_hook/hook.py
--- a/bitbucket_hook/hook.py
+++ b/bitbucket_hook/hook.py
@@ -143,8 +143,7 @@
 ##
 ##    test_payload['commits'] = commits
 
-    LOCAL_REPOS = py.path.local(repopath)
+    app.config['LOCAL_REPOS'] = py.path.local(repopath)
+    app.config['USE_COLOR_CODES'] = False
 
-    hook = BitbucketHookHandler()
-    app.config['USE_COLOR_CODES'] = False
     hook.handle(test_payload, test=True)


More information about the Pypy-commit mailing list