Changeset 9123 for branches/pep/src/common/caps.py
- Timestamp:
- 12/12/07 09:44:46 (12 months ago)
- Files:
-
- 1 modified
-
branches/pep/src/common/caps.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pep/src/common/caps.py
r8478 r9123 2 2 ## Copyright (C) 2006 Gajim Team 3 3 ## 4 ## This program is free software; you can redistribute it and/or modify 4 ## This file is part of Gajim. 5 ## 6 ## Gajim is free software; you can redistribute it and/or modify 5 7 ## it under the terms of the GNU General Public License as published 6 ## by the Free Software Foundation; version 2only.7 ## 8 ## This program is distributed in the hope that it will be useful,8 ## by the Free Software Foundation; version 3 only. 9 ## 10 ## Gajim is distributed in the hope that it will be useful, 9 11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of 10 12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 13 ## GNU General Public License for more details. 14 ## 15 ## You should have received a copy of the GNU General Public License 16 ## along with Gajim. If not, see <http://www.gnu.org/licenses/>. 12 17 ## 13 18 … … 245 250 if not contact.caps_node: return # we didn't asked for that? 246 251 if not node.startswith(contact.caps_node+'#'): return 247 node, ext = node.split('#' )252 node, ext = node.split('#', 1) 248 253 if ext==contact.caps_ver: # this can be also version (like '0.9') 249 254 exts=None
