diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-08-09 00:05:44 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-08-09 00:05:44 +0000 |
commit | 835527e2d130cd427972cadfc82d10ee36391e52 (patch) | |
tree | 1a0002e851af6f5b621b6d72044620b72756ac3b /src/gui.py | |
parent | 4bde31a5862e84891bc782a53ca3b3ab30a55fc6 (diff) | |
download | poezio-835527e2d130cd427972cadfc82d10ee36391e52.tar.gz poezio-835527e2d130cd427972cadfc82d10ee36391e52.tar.bz2 poezio-835527e2d130cd427972cadfc82d10ee36391e52.tar.xz poezio-835527e2d130cd427972cadfc82d10ee36391e52.zip |
Writing to file doesn't remove comments. fixed #1713
Diffstat (limited to 'src/gui.py')
-rw-r--r-- | src/gui.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -181,6 +181,8 @@ class Gui(object): returns the room that has this name """ for room in self.rooms: + from common import debug + debug('-- %s ? %s\n' % (room.name, name,)) if room.name.decode('utf-8') == name: return room return None @@ -436,6 +438,8 @@ class Gui(object): if (self.ignores.has_key(room_from)) and (nick_from in self.ignores[room_from]): return room = self.get_room_by_name(room_from) + from common import debug + debug('%s\n' % room_from) if not room: self.information(_("message received for a non-existing room: %s") % (room_from)) return |