gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 36070 - gump/trunk/python/gump/core
Date Sat, 07 Aug 2004 18:35:53 GMT
Author: ajack
Date: Sat Aug  7 11:35:53 2004
New Revision: 36070

Modified:
   gump/trunk/python/gump/core/config.py
Log:
(Still) attempting to fix the directories (After the re-org broke them)

Modified: gump/trunk/python/gump/core/config.py
==============================================================================
--- gump/trunk/python/gump/core/config.py	(original)
+++ gump/trunk/python/gump/core/config.py	Sat Aug  7 11:35:53 2004
@@ -36,16 +36,14 @@
     """Configuration of paths"""
 
     cmdpath   = os.path.abspath(sys.argv[0])
-    base      = os.path.abspath(os.path.dirname(cmdpath))
+    base      = os.path.abspath(os.path.join(os.path.dirname(cmdpath),'..'))  
     
-    gump      = os.path.abspath(os.path.dirname(cmdpath))
-    
-    cache     = os.path.abspath('%s/%s' % (base,'cache'))
-    work      = os.path.abspath('%s/%s' % (base,'work'))
-    tmp       = os.path.abspath('%s/%s' % (base,'tmp'))
-    template  = os.path.abspath('%s/%s' % (base,'template'))
+    cache     = os.path.abspath(os.path.join(base,'cache'))
+    work      = os.path.abspath(os.path.join(base,'work'))
+    tmp       = os.path.abspath(os.path.join(base,'tmp'))
+    template  = os.path.abspath(os.path.join(base,'template'))
         
-    test      = os.path.abspath('%s/%s' % (base,'test'))
+    test      = os.path.abspath(os.path.join(base,'test'))
 
 def gumpPath(path,basedir=None):
   """returns the path absolutized relative to the base gump dir"""

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message