Show
Ignore:
Timestamp:
12/12/07 09:44:46 (12 months ago)
Author:
asterix
Message:

merge diff from trunk

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/pep/src/common/caps.py

    r8478 r9123  
    22## Copyright (C) 2006 Gajim Team 
    33## 
    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 
    57## it under the terms of the GNU General Public License as published 
    6 ## by the Free Software Foundation; version 2 only. 
    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, 
    911## but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1012## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1113## 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/>. 
    1217## 
    1318 
     
    245250                if not contact.caps_node: return # we didn't asked for that? 
    246251                if not node.startswith(contact.caps_node+'#'): return 
    247                 node, ext = node.split('#') 
     252                node, ext = node.split('#', 1) 
    248253                if ext==contact.caps_ver:       # this can be also version (like '0.9') 
    249254                        exts=None