commit-gnue
[Top][All Lists]
Advanced

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

gnue/gnuef/src GFParser.py GFTrigger.py GFObjec...


From: James Thompson
Subject: gnue/gnuef/src GFParser.py GFTrigger.py GFObjec...
Date: Wed, 18 Jul 2001 15:45:02 -0700

CVSROOT:        /cvs
Module name:    gnue
Changes by:     James Thompson <address@hidden> 01/07/18 15:45:01

Modified files:
        gnuef/src      : GFParser.py GFTrigger.py 
        gnuef/src/GFObjects: GFBlock.py GFBox.py GFButton.py GFEntry.py 
                             GFLabel.py GFMsgBox.py GFObj.py GFOption.py 
                             GFOptions.py GFPage.py GFScrollBar.py 
                             GFValue.py 

Log message:
        Misc cleanup of imports

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFParser.py.diff?cvsroot=OldCVS&tr1=1.48&tr2=1.49&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFTrigger.py.diff?cvsroot=OldCVS&tr1=1.41&tr2=1.42&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFBlock.py.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFBox.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFButton.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFEntry.py.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFLabel.py.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFMsgBox.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFObj.py.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFOption.py.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFOptions.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFPage.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFScrollBar.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFValue.py.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnue/gnuef/src/GFObjects/GFBlock.py
diff -u gnue/gnuef/src/GFObjects/GFBlock.py:1.5 
gnue/gnuef/src/GFObjects/GFBlock.py:1.6
--- gnue/gnuef/src/GFObjects/GFBlock.py:1.5     Mon Jul 16 20:09:41 2001
+++ gnue/gnuef/src/GFObjects/GFBlock.py Wed Jul 18 15:45:01 2001
@@ -31,8 +31,7 @@
 # Copyright (c) 2000 Free Software Foundation
 #
 
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
+#from gnue.common.GObjects import * 
 from gnue.forms.GFEvent import *
 from gnue.forms.GFObjects.GFDataSource import GFDataSource
 
@@ -41,7 +40,6 @@
 from GFObj import GFObj
 
 import string
-import types
 
 # These should really go somewhere else
 TRUE = 1
Index: gnue/gnuef/src/GFObjects/GFBox.py
diff -u gnue/gnuef/src/GFObjects/GFBox.py:1.1 
gnue/gnuef/src/GFObjects/GFBox.py:1.2
--- gnue/gnuef/src/GFObjects/GFBox.py:1.1       Fri Jun 29 15:55:58 2001
+++ gnue/gnuef/src/GFObjects/GFBox.py   Wed Jul 18 15:45:01 2001
@@ -31,21 +31,8 @@
 # Copyright (c) 2000 Free Software Foundation
 #
 
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
-
-from gnue.common import GDebug
-from gnue.common import GConfig
 from GFObj import GFObj
 
-import string
-import types
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
-
-    
 #
 # GFBox
 #
@@ -54,6 +41,11 @@
     GFObj.__init__(self, parent)
     self._type = "GFBox"
     self.label = ""
+
+
+
+
+
 
 
 
Index: gnue/gnuef/src/GFObjects/GFButton.py
diff -u gnue/gnuef/src/GFObjects/GFButton.py:1.1 
gnue/gnuef/src/GFObjects/GFButton.py:1.2
--- gnue/gnuef/src/GFObjects/GFButton.py:1.1    Fri Jun 29 15:55:58 2001
+++ gnue/gnuef/src/GFObjects/GFButton.py        Wed Jul 18 15:45:01 2001
@@ -30,20 +30,7 @@
 # HISTORY:
 # Copyright (c) 2000 Free Software Foundation
 #
-
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
 from GFObj import GFObj
-
-from gnue.common import GDebug
-from gnue.common import GConfig
-
-import string
-import types
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
 
 #
 # GFButton
Index: gnue/gnuef/src/GFObjects/GFEntry.py
diff -u gnue/gnuef/src/GFObjects/GFEntry.py:1.5 
gnue/gnuef/src/GFObjects/GFEntry.py:1.6
--- gnue/gnuef/src/GFObjects/GFEntry.py:1.5     Mon Jul 16 20:09:41 2001
+++ gnue/gnuef/src/GFObjects/GFEntry.py Wed Jul 18 15:45:01 2001
@@ -31,18 +31,10 @@
 # Copyright (c) 2000 Free Software Foundation
 #
 
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
-
 from gnue.common import GDebug
 from gnue.common import GConfig
 from GFValue import GFValue
 import string
-import types
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
 
 ############################################################
 # GFEntry
Index: gnue/gnuef/src/GFObjects/GFLabel.py
diff -u gnue/gnuef/src/GFObjects/GFLabel.py:1.2 
gnue/gnuef/src/GFObjects/GFLabel.py:1.3
--- gnue/gnuef/src/GFObjects/GFLabel.py:1.2     Mon Jul 16 20:09:41 2001
+++ gnue/gnuef/src/GFObjects/GFLabel.py Wed Jul 18 15:45:01 2001
@@ -31,21 +31,9 @@
 # Copyright (c) 2000 Free Software Foundation
 #
 
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
-
-from gnue.common import GDebug
 from gnue.common import GConfig
 from GFValue import GFValue
 
-import string
-import types
-
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
-
 #
 #GFLabel
 #
@@ -59,7 +47,6 @@
   def setValue(self, value):
     if not self._value:
       GFValue.setValue(self,value)
-
 
   def initialize(self):
     self._block = self.findParentOfType('GFBlock')
Index: gnue/gnuef/src/GFObjects/GFMsgBox.py
diff -u gnue/gnuef/src/GFObjects/GFMsgBox.py:1.1 
gnue/gnuef/src/GFObjects/GFMsgBox.py:1.2
--- gnue/gnuef/src/GFObjects/GFMsgBox.py:1.1    Fri Jun 29 15:55:58 2001
+++ gnue/gnuef/src/GFObjects/GFMsgBox.py        Wed Jul 18 15:45:01 2001
@@ -31,20 +31,7 @@
 # Copyright (c) 2000 Free Software Foundation
 #
 
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
 from gnue.forms.GFEvent import *
-
-from gnue.common import GDebug
-from gnue.common import GConfig
-
-import string
-import types
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
-
 
 ############################################################
 # GFMsgBox
Index: gnue/gnuef/src/GFObjects/GFObj.py
diff -u gnue/gnuef/src/GFObjects/GFObj.py:1.2 
gnue/gnuef/src/GFObjects/GFObj.py:1.3
--- gnue/gnuef/src/GFObjects/GFObj.py:1.2       Tue Jul  3 17:54:41 2001
+++ gnue/gnuef/src/GFObjects/GFObj.py   Wed Jul 18 15:45:01 2001
@@ -31,17 +31,9 @@
 # Copyright (c) 2000 Free Software Foundation
 #
 
-from gnue.common import GDebug
-from gnue.common import GConfig
-from gnue.common.GObjects import * 
-
+from gnue.common.GObjects import GObj
 from gnue.forms.GFTrigger import GFTriggerAware
 
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
-
 #
 # Class GFObj
 #
@@ -57,7 +49,6 @@
     self._visibleIndex = 0
     self.name = "__%s__" % self
 
-
   #
   # get an Option 
   #
@@ -70,7 +61,6 @@
             if o.name == name:
               option = o.value
     return option
-           
 
   #
   # recalculateVisible
Index: gnue/gnuef/src/GFObjects/GFOption.py
diff -u gnue/gnuef/src/GFObjects/GFOption.py:1.2 
gnue/gnuef/src/GFObjects/GFOption.py:1.3
--- gnue/gnuef/src/GFObjects/GFOption.py:1.2    Tue Jul  3 17:54:41 2001
+++ gnue/gnuef/src/GFObjects/GFOption.py        Wed Jul 18 15:45:01 2001
@@ -32,17 +32,6 @@
 #
 
 from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
-
-from gnue.common import GDebug
-from gnue.common import GConfig
-
-import string
-import types
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
 
 # GFOption
 #
Index: gnue/gnuef/src/GFObjects/GFOptions.py
diff -u gnue/gnuef/src/GFObjects/GFOptions.py:1.1 
gnue/gnuef/src/GFObjects/GFOptions.py:1.2
--- gnue/gnuef/src/GFObjects/GFOptions.py:1.1   Fri Jun 29 15:55:58 2001
+++ gnue/gnuef/src/GFObjects/GFOptions.py       Wed Jul 18 15:45:01 2001
@@ -32,17 +32,6 @@
 #
 
 from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
-
-from gnue.common import GDebug
-from gnue.common import GConfig
-
-import string
-import types
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
 
 #
 # GFOptions
Index: gnue/gnuef/src/GFObjects/GFPage.py
diff -u gnue/gnuef/src/GFObjects/GFPage.py:1.1 
gnue/gnuef/src/GFObjects/GFPage.py:1.2
--- gnue/gnuef/src/GFObjects/GFPage.py:1.1      Fri Jun 29 15:55:58 2001
+++ gnue/gnuef/src/GFObjects/GFPage.py  Wed Jul 18 15:45:01 2001
@@ -30,20 +30,7 @@
 # HISTORY:
 # Copyright (c) 2000 Free Software Foundation
 #
-
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
 from GFObj import GFObj
-
-from gnue.common import GDebug
-from gnue.common import GConfig
-
-import string
-import types
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
 
 #
 # GFPage
Index: gnue/gnuef/src/GFObjects/GFScrollBar.py
diff -u gnue/gnuef/src/GFObjects/GFScrollBar.py:1.1 
gnue/gnuef/src/GFObjects/GFScrollBar.py:1.2
--- gnue/gnuef/src/GFObjects/GFScrollBar.py:1.1 Fri Jun 29 15:55:58 2001
+++ gnue/gnuef/src/GFObjects/GFScrollBar.py     Wed Jul 18 15:45:01 2001
@@ -31,19 +31,7 @@
 # Copyright (c) 2000 Free Software Foundation
 #
 
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
 from GFObj import GFObj
-
-from gnue.common import GDebug
-from gnue.common import GConfig
-
-import string
-import types
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
 
 #
 # GFScrollBar
Index: gnue/gnuef/src/GFObjects/GFValue.py
diff -u gnue/gnuef/src/GFObjects/GFValue.py:1.1 
gnue/gnuef/src/GFObjects/GFValue.py:1.2
--- gnue/gnuef/src/GFObjects/GFValue.py:1.1     Fri Jun 29 15:55:58 2001
+++ gnue/gnuef/src/GFObjects/GFValue.py Wed Jul 18 15:45:01 2001
@@ -31,21 +31,10 @@
 # Copyright (c) 2000 Free Software Foundation
 #
 
-from gnue.common.GObjects import * 
-from gnue.common.dbdrivers.factory import factory
 from GFObj import GFObj
 
 from gnue.common import GDebug
-from gnue.common import GConfig
 
-import string
-import types
-
-
-# These should really go somewhere else
-TRUE = 1
-FALSE = 0
-
 #
 # GFValue
 #
@@ -64,6 +53,11 @@
   def getValue(self):
     GDebug.printMesg(10, "Value = %s"% self._value)
     return self._value
+
+
+
+
+
 
 
 
Index: gnue/gnuef/src/GFParser.py
diff -u gnue/gnuef/src/GFParser.py:1.48 gnue/gnuef/src/GFParser.py:1.49
--- gnue/gnuef/src/GFParser.py:1.48     Mon Jul 16 20:09:41 2001
+++ gnue/gnuef/src/GFParser.py  Wed Jul 18 15:45:01 2001
@@ -31,7 +31,6 @@
 
 from gnue.common import GDataSource, GParser
 import copy, types
-#from gnue.common.GTypecast import * 
 from gnue.common import GTypecast
 
 
Index: gnue/gnuef/src/GFTrigger.py
diff -u gnue/gnuef/src/GFTrigger.py:1.41 gnue/gnuef/src/GFTrigger.py:1.42
--- gnue/gnuef/src/GFTrigger.py:1.41    Thu Jul 12 20:56:13 2001
+++ gnue/gnuef/src/GFTrigger.py Wed Jul 18 15:45:01 2001
@@ -29,7 +29,6 @@
 #
 
 import sys
-#from GFObjects import *
 from GFEvent import *
 from GFTriggerError import *
 from gnue.common.GParser import GContent



reply via email to

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