commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9994 - trunk/gnue-forms/src/GFObjects


From: reinhard
Subject: [gnue] r9994 - trunk/gnue-forms/src/GFObjects
Date: Thu, 22 Oct 2009 13:21:57 -0500 (CDT)

Author: reinhard
Date: 2009-10-22 13:21:57 -0500 (Thu, 22 Oct 2009)
New Revision: 9994

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Don't show any status for unbound blocks.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2009-10-22 10:28:26 UTC (rev 
9993)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2009-10-22 18:21:57 UTC (rev 
9994)
@@ -877,9 +877,12 @@
         'modified', or 'deleted', or C{None} if there is no current record.
         """
 
-        if self.mode == 'query':
+        if self._dataSourceLink.type == 'unbound':
             return None
 
+        elif self.mode == 'query':
+            return None
+
         elif self.mode == 'init':
             rec = self.__initializing_record
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]