~pythoneers/ubuntu/lucid/python-amqplib/ltsppa

« back to all changes in this revision

Viewing changes to amqplib/client_0_8/method_framing.py

  • Committer: Bazaar Package Importer
  • Author(s): Mikhail Gusarov
  • Date: 2009-09-04 03:52:04 UTC
  • mfrom: (0.1.2 sid) (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090904035204-9k9rbudrqemwvqoz
Tags: 0.6.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
                #
130
130
                # Connection was closed?  Framing Error?
131
131
                #
132
 
                self.queue.put(None)
 
132
                self.queue.put(e)
133
133
                break
134
134
 
135
135
            if self.expected_types[channel] != frame_type:
210
210
 
211
211
        """
212
212
        self._next_method()
213
 
        return self.queue.get()
 
213
        m = self.queue.get()
 
214
        if isinstance(m, Exception):
 
215
            raise m
 
216
        return m
214
217
 
215
218
 
216
219
class MethodWriter(object):