commit | 3e7feba2187c77ea6d0b48a8f8c4243314bbbbbe | [log] [tgz] |
---|---|---|
author | Tang Cheng <cheng.tang@supwisdom.com> | 周五 11月 09 16:51:27 2012 +0800 |
committer | Tang Cheng <cheng.tang@supwisdom.com> | 周五 11月 09 16:51:27 2012 +0800 |
tree | 9b4b895d54f076d05b6c73a40bc17e45bbb28764 | |
parent | 5d8cf505acca7a0889a85bb723db53d98e842eac [diff] |
修改判断空域的bug
diff --git a/supwisdom/protocol/nettrans.py b/supwisdom/protocol/nettrans.py index 98099f7..6ecac96 100644 --- a/supwisdom/protocol/nettrans.py +++ b/supwisdom/protocol/nettrans.py
@@ -171,7 +171,7 @@ """ assert self._row_no >= 0 arg = self._row_data[self._row_no].get(name, None) - if not arg: + if arg is None: if strip and default == message_reader._ARG_DEFAULT: raise IndexError(u'no such column %s' % name) return default