gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r123654 - /gump/branches/Dec04MajorCleanup/pygump/python/gump/__init__.py /gump/branches/Dec04MajorCleanup/pygump/python/gump/test/testDynagumper.py
Date Wed, 29 Dec 2004 15:16:56 GMT
Author: leosimons
Date: Wed Dec 29 07:16:55 2004
New Revision: 123654

URL: http://svn.apache.org/viewcvs?view=rev&rev=123654
Log:
hardwire location of logfile
Modified:
   gump/branches/Dec04MajorCleanup/pygump/python/gump/__init__.py
   gump/branches/Dec04MajorCleanup/pygump/python/gump/test/testDynagumper.py

Modified: gump/branches/Dec04MajorCleanup/pygump/python/gump/__init__.py
Url: http://svn.apache.org/viewcvs/gump/branches/Dec04MajorCleanup/pygump/python/gump/__init__.py?view=diff&rev=123654&p1=gump/branches/Dec04MajorCleanup/pygump/python/gump/__init__.py&r1=123653&p2=gump/branches/Dec04MajorCleanup/pygump/python/gump/__init__.py&r2=123654
==============================================================================
--- gump/branches/Dec04MajorCleanup/pygump/python/gump/__init__.py	(original)
+++ gump/branches/Dec04MajorCleanup/pygump/python/gump/__init__.py	Wed Dec 29 07:16:55 2004
@@ -17,11 +17,15 @@
 __copyright__ = "Copyright (c) 2003-2004 Apache Software Foundation"
 __license__   = "http://www.apache.org/licenses/LICENSE-2.0"
 
+import os
+
 import logging
 import logging.config
 
+_gumphome = os.environ["GUMP_HOME"]
+
 # configure the logger
-logging.config.fileConfig("gump.log.config")
+logging.config.fileConfig(_gumphome + "/pygump/gump.log.config")
 
 # base gump logger
 log = logging.getLogger("root")

Modified: gump/branches/Dec04MajorCleanup/pygump/python/gump/test/testDynagumper.py
Url: http://svn.apache.org/viewcvs/gump/branches/Dec04MajorCleanup/pygump/python/gump/test/testDynagumper.py?view=diff&rev=123654&p1=gump/branches/Dec04MajorCleanup/pygump/python/gump/test/testDynagumper.py&r1=123653&p2=gump/branches/Dec04MajorCleanup/pygump/python/gump/test/testDynagumper.py&r2=123654
==============================================================================
--- gump/branches/Dec04MajorCleanup/pygump/python/gump/test/testDynagumper.py	(original)
+++ gump/branches/Dec04MajorCleanup/pygump/python/gump/test/testDynagumper.py	Wed Dec 29 07:16:55
2004
@@ -22,8 +22,7 @@
 
 from gump.test.mockobjects import *
 
-from gump.actor.mysql.dynagumper import *
-from gump.core.model.workspace import *
+from gump.actor.dynagumper import *
 
 mock = MockObjects()
 

Mime
View raw message