[Buildbot-commits] [SPAM] Re: [Buildbot] #638: <type 'exceptions.AttributeError'>: IRCContact instance has no attribute 'requestCancelled'

Buildbot buildbot-devel at lists.sourceforge.net
Sun Dec 20 20:49:56 UTC 2009


#638: <type 'exceptions.AttributeError'>: IRCContact instance has no attribute
'requestCancelled'
------------------------------+---------------------------------------------
Reporter:  daniel at zuster.org  |        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 <dustin at zmanda.com>
 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


More information about the Commits mailing list