error in last commit
authorCampbell Barton <ideasman42@gmail.com>
Thu, 28 Nov 2013 05:14:32 +0000 (16:14 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 28 Nov 2013 05:14:32 +0000 (16:14 +1100)
source/tests/bl_rna_wiki_reference.py

index 634c4772cb7ac0b7577891e8d66f71204be5c7f7..c394107d8d177ac7cc204443c4c520704ac5f512 100644 (file)
@@ -108,7 +108,8 @@ def test_urls():
     print("")
 
     color_red = '\033[0;31m'
-    color_green = '\033[1;32m' color_normal = '\033[0m'
+    color_green = '\033[1;32m'
+    color_normal = '\033[0m'
 
     urls_fail = []
 
@@ -124,7 +125,7 @@ def test_urls():
             urls_fail.append(url)
 
     if urls_fail:
-        urls_len = "%d" % len(urls)
+        urls_len = "%d" % len(urls_fail)
         print("")
         print("------------" + "-" * len(urls_len))
         print("Failed URLS %s" % urls_len)