This commit is contained in:
utahta
2011-08-07 00:11:23 +09:00
parent 4ef2954bd6
commit 90face7065
+2 -2
View File
@@ -143,13 +143,13 @@ source '%(activate)s'
logger.log("# virtualenv for %(pkgname)s (found in %(workon_home)s)" % {'pkgname': pkgname, 'workon_home': workon_home})
if os.path.isdir(workon_home):
for d in sorted(os.listdir(workon_home)):
if os.path.isdir(d):
if os.path.isdir(os.path.join(workon_home, d)):
logger.log(d)
else:
logger.log("# virtualenv for %(pkgname)s (found in %(workon_home)s)" % {'pkgname': self._pkgname, 'workon_home': self._workon_home})
if os.path.isdir(self._workon_home):
for d in sorted(os.listdir(self._workon_home)):
if os.path.isdir(d):
if os.path.isdir(os.path.join(self._workon_home, d)):
logger.log(d)
def _write(self, src):