#638: <type 'exceptions.AttributeError'>: IRCContact instance has no attribute
'requestCancelled'
------------------------------+---------------------------------------------
Reporter:  [email protected]  |        Owner:        
    Type:  defect             |       Status:  closed
Priority:  major              |    Milestone:  0.7.12
 Version:  0.7.11             |   Resolution:  fixed 
Keywords:                     |  
------------------------------+---------------------------------------------
Changes (by dustin):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Thanks for the report!  This should do the trick:

 {[{
 diff --git a/buildbot/status/words.py b/buildbot/status/words.py
 index 8f562a0..44f71b6 100644
 --- a/buildbot/status/words.py
 +++ b/buildbot/status/words.py
 @@ -280,6 +280,10 @@ class Contact:
          log.msg('[Contact] BuildRequest for %s submitted to Builder %s' %
              (brstatus.getSourceStamp(), brstatus.builderName))

 +    def requestCancelled(self, brstatus)
 +        # nothing happens with this notification right now
 +        pass
 +
      def builderRemoved(self, builderName):
          log.msg('[Contact] Builder %s removed' % (builderName))
 }}}

 merged:

 {{{
 commit 864430a024d92d07ff4c012d14fcf3b3d4f50a6e
 Author: Dustin J. Mitchell <[email protected]>
 Date:   Sun Dec 20 14:49:16 2009 -0600

     (fixes #638) add a requestCancelled method (that does nothing) to
 IRCContact
 }}}

-- 
Ticket URL: <http://buildbot.net/trac/ticket/638#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to