[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnuef/src/GFObjects GFEntry.py
From: |
Derek Neighbors |
Subject: |
gnue/gnuef/src/GFObjects GFEntry.py |
Date: |
Mon, 03 Sep 2001 09:31:16 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Derek Neighbors <address@hidden> 01/09/03 09:31:16
Modified files:
gnuef/src/GFObjects: GFEntry.py
Log message:
** Added check to field attribute to ignore field=""
Note: Really designer needs to be fixed to not write our ="" on all
attributes that are null. It appears it does this UNLESS you
have an attribute with a value. Then if you null it, it turns
to =""
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFEntry.py.diff?cvsroot=OldCVS&tr1=1.11&tr2=1.12&r1=text&r2=text
Patches:
Index: gnue/gnuef/src/GFObjects/GFEntry.py
diff -u gnue/gnuef/src/GFObjects/GFEntry.py:1.11
gnue/gnuef/src/GFObjects/GFEntry.py:1.12
--- gnue/gnuef/src/GFObjects/GFEntry.py:1.11 Thu Aug 30 14:34:48 2001
+++ gnue/gnuef/src/GFObjects/GFEntry.py Mon Sep 3 09:31:16 2001
@@ -82,7 +82,7 @@
self._cursorPosition = len(self._oldval)
self._block = self.findParentOfType('GFBlock')
- if not hasattr(self,'field'):
+ if not hasattr(self,'field') or not len(self.field):
GDebug.printMesg(1,"%s" % self.getObjectType())
GDebug.printMesg(1,"%s" % self.__dict__)
self.field = "__GNUe__%s" % self.name
- gnue/gnuef/src/GFObjects GFEntry.py,
Derek Neighbors <=