[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/emerge/bin/Package
From:       Ralf Habacker <Ralf.Habacker () freenet ! de>
Date:       2009-07-31 22:49:50
Message-ID: 1249080590.487061.1969.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1005392 by habacker:

uses dir related functions from utils

 M  +2 -2      PackageBase.py  


--- trunk/kdesupport/emerge/bin/Package/PackageBase.py #1005391:1005392
@@ -46,9 +46,9 @@
             # are there any cases there installDir should be honored ? 
             destscript = os.path.join( self.imageDir(), "manifest", scriptName )
             if not os.path.exists( os.path.join( self.imageDir(), "manifest" ) ):
-                os.mkdir( os.path.join( self.imageDir(), "manifest" ) )
+                utils.createDir( os.path.join( self.imageDir(), "manifest" ) )
             if os.path.exists( script ):
-                shutil.copyfile( script, destscript )
+                utils.copyFile( script, destscript )
 
         utils.mergeImageDirToRootDir( self.mergeSourceDir(), self.mergeDestinationDir() )
         self.manifest()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic