[CMF-checkins] SVN: CMF/branches/goldegg-phase-1/GenericSetup/context.py Fix cross platform glitch in tarball contexts.

Tres Seaver tseaver at palladion.com
Sat Sep 24 11:01:24 EDT 2005


Log message for revision 38589:
  Fix cross platform glitch in tarball contexts.

Changed:
  U   CMF/branches/goldegg-phase-1/GenericSetup/context.py

-=-
Modified: CMF/branches/goldegg-phase-1/GenericSetup/context.py
===================================================================
--- CMF/branches/goldegg-phase-1/GenericSetup/context.py	2005-09-24 14:27:06 UTC (rev 38588)
+++ CMF/branches/goldegg-phase-1/GenericSetup/context.py	2005-09-24 15:01:23 UTC (rev 38589)
@@ -245,7 +245,7 @@
         """ See IImportContext.
         """
         if subdir is not None:
-            filename = os.path.join( subdir, filename )
+            filename = '/'.join( ( subdir, filename ) )
 
         try:
             file = self._archive.extractfile( filename )
@@ -348,7 +348,7 @@
         """ See IExportContext.
         """
         if subdir is not None:
-            filename = os.path.join( subdir, filename )
+            filename = '/'.join( ( subdir, filename ) )
 
         stream = StringIO( text )
         info = TarInfo( filename )



More information about the CMF-checkins mailing list