/[papo]/gnue/navigator/src/GNObjects.py
ViewVC logotype

Diff of /gnue/navigator/src/GNObjects.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by styxman, Fri Nov 8 17:18:18 2002 UTC revision 1.2.4.1 by anthonyl, Tue Mar 4 22:33:15 2003 UTC
# Line 16  Line 16 
16  # write to the Free Software Foundation, Inc., 59 Temple Place  # write to the Free Software Foundation, Inc., 59 Temple Place
17  # - Suite 330, Boston, MA 02111-1307, USA.  # - Suite 330, Boston, MA 02111-1307, USA.
18  #  #
19  # Copyright 2002 Free Software Foundation  # Copyright 2002-2003 Free Software Foundation
20  #  #
21  # FILE:  # FILE:
22  # GNObjects.py  # GNObjects.py
# Line 30  Line 30 
30  import sys, string, os, os.path  import sys, string, os, os.path
31  from gnue.common import GObjects, GDebug, GConfig, GRootObj  from gnue.common import GObjects, GDebug, GConfig, GRootObj
32  import GNParser  import GNParser
33  from gnue.reports import GREngine,GRExceptions  try:
34      from gnue.reports.base import GREngine,GRExceptions
35      REPORTS_SUPPORT=0
36    except ImportError:
37      REPORTS_SUPPORT=1
38    
39  # Base class for all Navigator objects  # Base class for all Navigator objects
40  class GNObject(GObjects.GObj):  class GNObject(GObjects.GObj):
# Line 86  class GNProcesses(GRootObj.GRootObj, GNO Line 90  class GNProcesses(GRootObj.GRootObj, GNO
90        os.spawnve(os.P_NOWAIT,command[0],command,os.environ)        os.spawnve(os.P_NOWAIT,command[0],command,os.environ)
91    
92    def _runReport(self, step):    def _runReport(self, step):
93        global REPORTS_SUPPORT
94        if not REPORTS_SUPPORT:
95          print "WARNING: Reports support not installed!"
96          return
97          
98      reportCommand = gConfigNav('RunReportCommand')      reportCommand = gConfigNav('RunReportCommand')
99    
100      # get the name of the report      # get the name of the report

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26