The following commit has been merged in the master branch:
commit 351eda0477f93f86a9bff03abbb193ac1fa0c9bd
Author: Andreas Tille <[email protected]>
Date:   Mon May 27 10:53:24 2013 +0200

    Make sure the fallback for error output will not fail

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index dd0b81c..a493354 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -596,8 +596,8 @@ def FetchTasksFiles(data):
            if os.path.isdir(data['datadir']+'/.git'):
                 logger.error("Trying old files in %s ..." % data['datadir'])
            else:
-                if os.listdir(data['datadir']+'/'+dir):
-                    logger.warning("No .git directory found in %s but trying 
those random files there as tasks files." % data['datadir']+'/'+dir)
+                if os.listdir(data['datadir']):
+                    logger.warning("No .git directory found in %s but trying 
those random files there as tasks files." % data['datadir'])
                 else:
                     logger.error("There are no old files in %s -> giving up" % 
data['datadir'])
                     exit(-1)

-- 
Static and dynamic websites for Debian Pure Blends

_______________________________________________
Blends-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit

Reply via email to