Author: johannes
Date: 2007-06-04 10:35:52 -0500 (Mon, 04 Jun 2007)
New Revision: 9653
Modified:
trunk/gnue-forms/src/GFObjects/GFField.py
Log:
only remove empty items if available
Modified: trunk/gnue-forms/src/GFObjects/GFField.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFField.py 2007-06-04 13:16:59 UTC (rev 9652)
+++ trunk/gnue-forms/src/GFObjects/GFField.py 2007-06-04 15:35:52 UTC (rev 9653)
@@ -640,7 +640,8 @@
if self._block.mode == 'query':
lookup = ['(all)', '(empty)'] + self.__lookup_list
- lookup.remove('')
+ if '' in lookup:
+ lookup.remove('')
else:
lookup = self.__lookup_list
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.