[Pymoul-svn] SF.net SVN: pymoul: [272] pymoul/trunk/src/moul/file/plasmalog.py
Status: Alpha
Brought to you by:
tiran
From: <ti...@us...> - 2007-03-20 18:59:09
|
Revision: 272 http://pymoul.svn.sourceforge.net/pymoul/?rev=272&view=rev Author: tiran Date: 2007-03-20 11:59:01 -0700 (Tue, 20 Mar 2007) Log Message: ----------- More mkdir fixes Modified Paths: -------------- pymoul/trunk/src/moul/file/plasmalog.py Modified: pymoul/trunk/src/moul/file/plasmalog.py =================================================================== --- pymoul/trunk/src/moul/file/plasmalog.py 2007-03-20 17:42:38 UTC (rev 271) +++ pymoul/trunk/src/moul/file/plasmalog.py 2007-03-20 18:59:01 UTC (rev 272) @@ -58,14 +58,15 @@ if not os.path.isdir(self._srcdir): LOG.warning("%s is not a directory" % self._srcdir) - if not self.isPlasmaLogDir(): - self._ispldir = False - LOG.warning("%s is not a plasma log directory" % self._srcdir) else: - self._ispldir = True - if not os.path.isdir(self._destdir): - LOG.info("Creating chatlog directory %s" % self._destdir) - os.mkdir(self._destdir) + if not self.isPlasmaLogDir(): + self._ispldir = False + LOG.warning("%s is not a plasma log directory" % self._srcdir) + else: + self._ispldir = True + if not os.path.isdir(self._destdir): + LOG.info("Creating chatlog directory %s" % self._destdir) + os.mkdir(self._destdir) def setZip(self, boolean): """Set ZIP flag This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |