From 8ecc50b0fa1b6ea34f5cd156de91e23a035334e5 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 26 Jun 2007 23:33:48 +0000 Subject: [PATCH] No need to fetch the good URL if we're going to skip the diff. - Legacy-Id: 674 --- ietf/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/tests.py b/ietf/tests.py index 134aaa998..b528a07be 100644 --- a/ietf/tests.py +++ b/ietf/tests.py @@ -286,7 +286,7 @@ class UrlTestCase(TestCase): res = ("Fail", "Exc") note("Exception for URL '%s'" % url) traceback.print_exc() - if master: + if master and not "skipdiff" in codes:: try: #print "Fetching", master, "...", mfile = urllib.urlopen(master) @@ -297,7 +297,7 @@ class UrlTestCase(TestCase): note(" %s %s" % (e.code, e.url)) goodhtml = None try: - if goodhtml and response.content and not "skipdiff" in codes: + if goodhtml and response.content: if "sort" in codes: testtext = reduce_text(response.content, fill=False) goodtext = reduce_text(goodhtml, fill=False)