[pypy-svn] commit/buildbot: antocuni: bah

Bitbucket commits-noreply at bitbucket.org
Fri Dec 17 15:57:45 CET 2010


1 new changeset in buildbot:

http://bitbucket.org/pypy/buildbot/changeset/2b9284c95568/
changeset:   r387:2b9284c95568
user:        antocuni
date:        2010-12-17 15:57:36
summary:     bah
affected #:  1 file (15 bytes)

--- a/bitbucket_hook/hook.py	Fri Dec 17 15:55:35 2010 +0100
+++ b/bitbucket_hook/hook.py	Fri Dec 17 15:57:36 2010 +0100
@@ -54,7 +54,7 @@
         self.handle_diff_email()
 
     def handle_diff_email(self):
-        for commit in payload['commits']:
+        for commit in self.payload['commits']:
             self.send_diff_for_commit(commit)
 
     def send_diff_for_commit(self, commit):
@@ -91,7 +91,7 @@
 
 
 if __name__ == '__main__':
-    payload = {u'commits': [{u'author': u'antocuni',
+    test_payload = {u'commits': [{u'author': u'antocuni',
                              u'branch': u'default',
                              u'files': [{u'file': u'pdbdemo2.py', u'type': u'modified'},
                                         {u'file': u'README2', u'type': u'added'},
@@ -123,4 +123,4 @@
                u'user': u'antocuni'}
 
     hook = BitbucketHookHandler()
-    hook.handle(payload)
+    hook.handle(test_payload)

Repository URL: https://bitbucket.org/pypy/buildbot/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the Pypy-commit mailing list