commit-gnue
[Top][All Lists]
Advanced

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

gnue/reports/src adapters/filters/general/libxs...


From: Bajusz Tamás
Subject: gnue/reports/src adapters/filters/general/libxs...
Date: Mon, 16 Jun 2003 08:39:07 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Branch:         
Changes by:     Bajusz Tamás <address@hidden>   03/06/16 08:39:07

Modified files:
        reports/src/adapters/filters/general/libxslt: Adapter.py 
        reports/src/base: GREngine.py GRFilters.py 
        reports/src/client: GRRun.py 

Log message:
        fixing reports support in navigator

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/adapters/filters/general/libxslt/Adapter.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/base/GREngine.py.diff?tr1=1.22&tr2=1.23&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/base/GRFilters.py.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/client/GRRun.py.diff?tr1=1.27&tr2=1.28&r1=text&r2=text

Patches:
Index: gnue/reports/src/adapters/filters/general/libxslt/Adapter.py
diff -c gnue/reports/src/adapters/filters/general/libxslt/Adapter.py:1.1 
gnue/reports/src/adapters/filters/general/libxslt/Adapter.py:1.2
*** gnue/reports/src/adapters/filters/general/libxslt/Adapter.py:1.1    Tue May 
27 17:07:20 2003
--- gnue/reports/src/adapters/filters/general/libxslt/Adapter.py        Mon Jun 
16 08:39:07 2003
***************
*** 34,39 ****
--- 34,40 ----
  except ImportError:
    print "Unable to load libxslt"
    print "On Debian just do a : apt-get install libxslt1-python2.2"
+   print "For win32 go to http://users.skynet.be/sbi/libxml-python/";
    sys.exit()
  
  
Index: gnue/reports/src/base/GREngine.py
diff -c gnue/reports/src/base/GREngine.py:1.22 
gnue/reports/src/base/GREngine.py:1.23
*** gnue/reports/src/base/GREngine.py:1.22      Mon Feb 17 02:32:54 2003
--- gnue/reports/src/base/GREngine.py   Mon Jun 16 08:39:07 2003
***************
*** 79,85 ****
      else:
        # Load a destination adapter
        destAdapter = dyn_import('gnue.reports.adapters.destinations.%s.%s' % \
!                       (destinationType, gConfig('%sAdapter' % 
destinationType)))
  
      # Create a Destination Adapter
      dest = destAdapter.DestinationAdapter(destination, destinationOptions)
--- 79,85 ----
      else:
        # Load a destination adapter
        destAdapter = dyn_import('gnue.reports.adapters.destinations.%s.%s' % \
!                       (destinationType, gConfigReports('%sAdapter' % 
destinationType)))
  
      # Create a Destination Adapter
      dest = destAdapter.DestinationAdapter(destination, destinationOptions)
Index: gnue/reports/src/base/GRFilters.py
diff -c gnue/reports/src/base/GRFilters.py:1.21 
gnue/reports/src/base/GRFilters.py:1.22
*** gnue/reports/src/base/GRFilters.py:1.21     Mon Feb 17 02:32:54 2003
--- gnue/reports/src/base/GRFilters.py  Mon Jun 16 08:39:07 2003
***************
*** 90,96 ****
  
  
      # Load the report-filters file
!     location = gConfig('filters')
      if location:
        if location[0] != '/':
          location = os.path.join(
--- 90,96 ----
  
  
      # Load the report-filters file
!     location = gConfigReports('filters')
      if location:
        if location[0] != '/':
          location = os.path.join(
***************
*** 130,136 ****
        self.mappings[string.lower(option)] = 
self._parser.get('mappings',option)
  
      # Get the base directory for filters
!     filterBase = gConfig('FiltersDir')
      if filterBase[0] != '/':
        filterBase = os.path.join(GConfig.getInstalledBase('reports_shared', 
'common_shared'), filterBase)
  
--- 130,136 ----
        self.mappings[string.lower(option)] = 
self._parser.get('mappings',option)
  
      # Get the base directory for filters
!     filterBase = gConfigReports('FiltersDir')
      if filterBase[0] != '/':
        filterBase = os.path.join(GConfig.getInstalledBase('reports_shared', 
'common_shared'), filterBase)
  
Index: gnue/reports/src/client/GRRun.py
diff -c gnue/reports/src/client/GRRun.py:1.27 
gnue/reports/src/client/GRRun.py:1.28
*** gnue/reports/src/client/GRRun.py:1.27       Thu Feb 27 21:52:03 2003
--- gnue/reports/src/client/GRRun.py    Mon Jun 16 08:39:07 2003
***************
*** 132,137 ****
--- 132,138 ----
    #
    def __init__(self):
      GClientApp.__init__(self, application='reports',defaults=ConfigOptions)
+     self.configurationManager.registerAlias('gConfigReports', 'reports')
  
  
    def run(self):




reply via email to

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