Mercurial > xib
comparison irclib.py @ 148:484d8780bd34
strip events' properties
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 17 Jan 2010 19:32:56 +0100 |
parents | 0aa31a2b9316 |
children | 332bb2e8e71e |
comparison
equal
deleted
inserted
replaced
147:0aa31a2b9316 | 148:484d8780bd34 |
---|---|
1152 | 1152 |
1153 target -- The target of the event (a nick or a channel). | 1153 target -- The target of the event (a nick or a channel). |
1154 | 1154 |
1155 arguments -- Any event specific arguments. | 1155 arguments -- Any event specific arguments. |
1156 """ | 1156 """ |
1157 self._eventtype = eventtype | 1157 self._eventtype = eventtype.strip() |
1158 self._source = source | 1158 self._source = source.strip() |
1159 self._target = target | 1159 self._target = target.strip() |
1160 if arguments: | 1160 if arguments: |
1161 self._arguments = arguments | 1161 self._arguments = arguments |
1162 else: | 1162 else: |
1163 self._arguments = [] | 1163 self._arguments = [] |
1164 | 1164 |