seems like a bug in NullsoftInstallerPackage

Ralf Habacker ralf.habacker at freenet.de
Wed Jan 12 22:54:31 CET 2011


Am 12.01.2011 19:53, schrieb Wolfgang Rohdewald:
>
> in createPackage:
>
> copyFiles should probably use imageDir and not self.imageDir()
>

> right now imageDir is an unused variable
>
>

The whole code is shown below - where is the problem -  imageDir is a 
local copy of self.imageDir()

             for dir, mergeDir in self.__getImageDirectories():
                 imageDir = self.imageDir()
                 if mergeDir:
                     imageDir = os.path.join( self.imageDir, mergeDir )
                 if os.path.exists( dir ):
                     self.copyFiles( dir, self.imageDir() )
                 else:
                     utils.die( "image directory %s does not exist!" % dir )

Regards
Ralf

> -- 
>
> Wolfgang
>
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20110112/ed4ae401/attachment.htm 


More information about the Kde-windows mailing list