[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5070 - trunk/gnue-common/src/apps
From: |
jcater |
Subject: |
r5070 - trunk/gnue-common/src/apps |
Date: |
Thu, 5 Feb 2004 14:08:09 -0600 (CST) |
Author: jcater
Date: 2004-02-05 14:08:08 -0600 (Thu, 05 Feb 2004)
New Revision: 5070
Modified:
trunk/gnue-common/src/apps/GDebug.py
trunk/gnue-common/src/apps/__init__.py
Log:
added gDebug builtin
Modified: trunk/gnue-common/src/apps/GDebug.py
===================================================================
--- trunk/gnue-common/src/apps/GDebug.py 2004-02-05 16:19:59 UTC (rev
5069)
+++ trunk/gnue-common/src/apps/GDebug.py 2004-02-05 20:08:08 UTC (rev
5070)
@@ -32,6 +32,7 @@
import string
import sys
from traceback import *
+import __builtin__
_fh = sys.__stderr__
_conttest = 0
@@ -70,6 +71,7 @@
catchStderr( fh )
else:
catchStderr( sys.__stderr__ )
+ __builtin__.__dict__['gDebug'] = printMesg
def catchStderr(fh):
@@ -121,6 +123,7 @@
printMesg = _noPrintMesg
+__builtin__.__dict__['gDebug'] = printMesg
class GETrace(Exception):
#
Modified: trunk/gnue-common/src/apps/__init__.py
===================================================================
--- trunk/gnue-common/src/apps/__init__.py 2004-02-05 16:19:59 UTC (rev
5069)
+++ trunk/gnue-common/src/apps/__init__.py 2004-02-05 20:08:08 UTC (rev
5070)
@@ -39,3 +39,5 @@
__builtins__ ['True'] = 1
__builtins__ ['False'] = 0
+import GDebug
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5070 - trunk/gnue-common/src/apps,
jcater <=