~stefanor/ibid/timeout-344882

« back to all changes in this revision

Viewing changes to ibid/plugins/bzr.py

  • Committer: Jonathan Hitchcock
  • Date: 2009-03-16 22:35:21 UTC
  • mfrom: (582.2.5 smtp-343784)
  • Revision ID: jonathan@vhata.net-20090316223521-feyejo53kc9xpdqu
Fix SMTP source and improve Launchpad email handling
https://code.edge.launchpad.net/~mgorven/ibid/smtp-343784/+merge/4551

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
            return
120
120
 
121
121
        event.processed = True
 
122
 
 
123
        if 'X-Launchpad-Branch' not in event.headers or 'X-Launchpad-Branch-Revision-Number' not in event.headers:
 
124
            return
 
125
 
122
126
        if event.headers['X-Launchpad-Branch'] in self.launchpad_branches:
123
127
            self.remote_committed(self.launchpad_branches[event.headers['X-Launchpad-Branch']], int(event.headers['X-Launchpad-Branch-Revision-Number']))
124
128