~ubuntu-branches/ubuntu/karmic/pymsn/karmic

« back to all changes in this revision

Viewing changes to pymsn/msnp/notification.py

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville, Laurent Bigonville, Jonny Lamb
  • Date: 2008-08-08 17:18:04 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080808171804-c6ol6xeb3evgel6u
Tags: 0.3.3-0ubuntu1
[ Laurent Bigonville ]
* debian/control: change python-ctypes to python (>= 2.5) | python-ctypes
  (Closes: #493002)

[ Jonny Lamb ]
* New upstream version. (Closes: #493908)
* debian/control: Removed python-adns dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
        self._send_command('UUM',
245
245
                (contact.account, contact.network_id, message_type),
246
246
                payload=message)
247
 
        
 
247
 
248
248
    # Handlers ---------------------------------------------------------------
249
249
    # --------- Connection ---------------------------------------------------
250
250
    def _handle_VER(self, command):
251
 
        assert(len(command.arguments) > 1), "Invalid VER response : " + str(command)
252
251
        self._protocol_version = int(command.arguments[0].lstrip('MSNP'))
253
252
        self._send_command('CVR',
254
253
                ProtocolConstant.CVR + (self._client.profile.account,))