[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/reports/src GREngine.py GRLayout.py
From: |
Jason Cater |
Subject: |
gnue/reports/src GREngine.py GRLayout.py |
Date: |
Mon, 15 Apr 2002 01:39:25 -0400 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Jason Cater <address@hidden> 02/04/15 01:39:25
Modified files:
reports/src : GREngine.py GRLayout.py
Log message:
code cleanup
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/src/GREngine.py.diff?cvsroot=OldCVS&tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/src/GRLayout.py.diff?cvsroot=OldCVS&tr1=1.29&tr2=1.30&r1=text&r2=text
Patches:
Index: gnue/reports/src/GREngine.py
diff -c gnue/reports/src/GREngine.py:1.10 gnue/reports/src/GREngine.py:1.11
*** gnue/reports/src/GREngine.py:1.10 Mon Apr 15 00:36:31 2002
--- gnue/reports/src/GREngine.py Mon Apr 15 01:39:25 2002
***************
*** 71,78 ****
# Where are we destined for?
#
- tempname = None
-
if destinationType == 'file' and destination == '-':
# Handle the special case of stdout
destAdapter =
dyn_import('gnue.reports.adapters.destinations.file.stdout')
--- 71,76 ----
***************
*** 81,91 ****
destAdapter = dyn_import('gnue.reports.adapters.destinations.%s.%s' % \
(destinationType, GConfig.get('%sAdapter' %
destinationType)))
dest = destAdapter.DestinationAdapter(destination, destinationOptions)
! # TODO: !!!!
! namespace = "GNUe:Reports:SimpleTabulation"
filtAdapter = self.filters.loadFilter(namespace,
filter,
dest,
--- 79,91 ----
destAdapter = dyn_import('gnue.reports.adapters.destinations.%s.%s' % \
(destinationType, GConfig.get('%sAdapter' %
destinationType)))
+ # Create a Destination Adapter
dest = destAdapter.DestinationAdapter(destination, destinationOptions)
! # Hmm... maybe this should be a little cleaner
! namespace = report._namespace
+ # Create a Filter Adapter
filtAdapter = self.filters.loadFilter(namespace,
filter,
dest,
Index: gnue/reports/src/GRLayout.py
diff -c gnue/reports/src/GRLayout.py:1.29 gnue/reports/src/GRLayout.py:1.30
*** gnue/reports/src/GRLayout.py:1.29 Mon Apr 15 00:36:31 2002
--- gnue/reports/src/GRLayout.py Mon Apr 15 01:39:25 2002
***************
*** 82,87 ****
--- 82,88 ----
def initialize(self):
# Find the xml namespace in use by any child passthru objects
self._xmlnamespace = self._findNamespace(self)
+ self._parent._namespace = self._xmlnamespace
# Find the xml namespace in use by any child passthru objects
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/reports/src GREngine.py GRLayout.py,
Jason Cater <=