1. Ask Solem Hoel
  2. python-stomp


Benjamin Smith  committed 2e14827

Fix some pep8 badness that I introduced when resolving conflicts

  • Participants
  • Parent commits 17e1a51
  • Branches default

Comments (0)

Files changed (2)

File stompy/frame.py

View file
  • Ignore whitespace
     :keyword sock: An open socket to the STOMP server.
     def __init__(self, sock=None):
         self.command = None
         self.headers = {}

File stompy/stomp.py

View file
  • Ignore whitespace
 class NotConnectedError(Exception):
     """No longer connected to the STOMP server."""
 class ConnectionError(socket.error):
     """Couldn't connect to the STOMP server."""
         self._send_command("COMMIT", conf)
     def abort(self, conf=None):
         """Abort transaction.
         self._send_command("ABORT", conf)
     def unsubscribe(self, conf=None):
         """Unsubscribe from a given destination
         frame = self.frame.send_frame(frame.as_string())
         return frame
     def _send_command(self, command, conf=None, extra=None, **kwargs):
         conf = conf or {}
         extra = extra or {}