The following commit has been merged in the devel branch:
commit b14b86f5cb97d7f2ec2be2a2d07b6f3bc46e0e7d
Author: Andreas Tille <[email protected]>
Date:   Mon Nov 26 21:38:21 2012 +0100

    Fix spacing

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index eafea02..0e8d13a 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -594,8 +594,8 @@ def FetchTasksFiles(data):
                         exit(-1)
     elif data['vcsdir'].startswith('git:') or 
data['vcsdir'].startswith('http:'):
         githtml = data['vcsdir']
-       if githtml.startswith('git:'):
-           githtml=githtml.replace('git://','http://')
+        if githtml.startswith('git:'):
+            githtml=githtml.replace('git://','http://')
        if os.path.isdir(data['datadir']+'/.git'):
            gitcommand = "cd %s; git pull" % data['datadir']
        else:
@@ -603,16 +603,16 @@ def FetchTasksFiles(data):
         if os.system(gitcommand):
            logger.error("Git command %s failed" % (gitcommand))
            if os.path.isdir(data['datadir']+'/.git'):
-               logger.error("Trying old files in %s ..." % data['datadir'])
+                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)
                 else:
                     logger.error("There are no old files in %s -> giving up" % 
data['datadir'])
                     exit(-1)
-        else:
-            logger.error("Don't know how to checkout tasks files from %s -> 
giving up" % data['vcsdir'])
-            exit(-1)
+    else:
+        logger.error("Don't know how to checkout tasks files from %s -> giving 
up" % data['vcsdir'])
+        exit(-1)
     return data['datadir'] + '/tasks'
 
 def RowDictionaries(cursor):

-- 
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