[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/navigator/src GNClient.py GNObjects.py
From: |
Bajusz Tamás |
Subject: |
gnue/navigator/src GNClient.py GNObjects.py |
Date: |
Mon, 16 Jun 2003 08:39:28 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Branch:
Changes by: Bajusz Tamás <address@hidden> 03/06/16 08:39:27
Modified files:
navigator/src : GNClient.py GNObjects.py
Log message:
fixing reports support in navigator
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/navigator/src/GNClient.py.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/navigator/src/GNObjects.py.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
Patches:
Index: gnue/navigator/src/GNClient.py
diff -c gnue/navigator/src/GNClient.py:1.18 gnue/navigator/src/GNClient.py:1.19
*** gnue/navigator/src/GNClient.py:1.18 Mon Feb 17 02:32:54 2003
--- gnue/navigator/src/GNClient.py Mon Jun 16 08:39:27 2003
***************
*** 51,57 ****
FORMS_SUPPORT=0
try:
! from gnue.reports.GRConfig import ConfigOptions as ReportsConfigOptions
except:
REPORTS_SUPPORT=0
--- 51,58 ----
FORMS_SUPPORT=0
try:
! from gnue.reports.base.GRConfig import ConfigOptions as ReportsConfigOptions
! REPORTS_SUPPORT=1
except:
REPORTS_SUPPORT=0
Index: gnue/navigator/src/GNObjects.py
diff -c gnue/navigator/src/GNObjects.py:1.17
gnue/navigator/src/GNObjects.py:1.18
*** gnue/navigator/src/GNObjects.py:1.17 Mon Feb 17 02:32:54 2003
--- gnue/navigator/src/GNObjects.py Mon Jun 16 08:39:27 2003
***************
*** 33,41 ****
import GNParser
try:
from gnue.reports.base import GREngine,GRExceptions
- REPORTS_SUPPORT=0
- except ImportError:
REPORTS_SUPPORT=1
# Base class for all Navigator objects
class GNObject(GObjects.GObj):
--- 33,41 ----
import GNParser
try:
from gnue.reports.base import GREngine,GRExceptions
REPORTS_SUPPORT=1
+ except ImportError:
+ REPORTS_SUPPORT=0
# Base class for all Navigator objects
class GNObject(GObjects.GObj):
***************
*** 146,151 ****
--- 146,159 ----
self.handleStartupError (msg)
except GRExceptions.ReportUnreadable, msg:
self.handleStartupError (msg)
+
+ def handleStartupError(self,errortext):
+ print
+ print '-' * 60
+ print _("Error: %s") % errortext
+ print '-' * 60
+
+ sys.exit()
class GNProcess(GNObject):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/navigator/src GNClient.py GNObjects.py,
Bajusz Tamás <=