Changeset 9123 for branches/pep/src/adhoc_commands.py
- Timestamp:
- 12/12/07 09:44:46 (12 months ago)
- Files:
-
- 1 modified
-
branches/pep/src/adhoc_commands.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pep/src/adhoc_commands.py
r8478 r9123 2 2 ## adhoc_commands.py 3 3 ## 4 ## Copyright (C) 2006 Yann Le Boulanger <asterix@lagaule.org>4 ## Copyright (C) 2006 Yann Leboulanger <asterix@lagaule.org> 5 5 ## Nikos Kouremenos <nkour@jabber.org> 6 6 ## 7 ## This program is free software; you can redistribute it and/or modify 7 ## This file is part of Gajim. 8 ## 9 ## Gajim is free software; you can redistribute it and/or modify 8 10 ## it under the terms of the GNU General Public License as published 9 ## by the Free Software Foundation; version 2only.11 ## by the Free Software Foundation; version 3 only. 10 12 ## 11 ## This program is distributed in the hope that it will be useful,13 ## Gajim is distributed in the hope that it will be useful, 12 14 ## but WITHOUT ANY WARRANTY; without even the implied warranty of 13 15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 16 ## GNU General Public License for more details. 17 ## 18 ## You should have received a copy of the GNU General Public License 19 ## along with Gajim. If not, see <http://www.gnu.org/licenses/>. 15 20 16 21 # FIXME: think if we need caching command list. it may be wrong if there will … … 287 292 self.sending_form_progressbar.hide() 288 293 289 if not self.sessionid: 290 self.sessionid = command.getAttr('sessionid') 294 self.sessionid = command.getAttr('sessionid') 291 295 292 296 self.form_status = command.getAttr('status') … … 447 451 # commands => command selection stage 448 452 query = response.getTag('query') 449 if query :453 if query and query.getAttr('node') == xmpp.NS_COMMANDS: 450 454 items = query.getTags('item') 451 455 else:
