The following commit has been merged in the master branch:
commit 7e1e0271186ce89c6bcf87cdb39b2d9bea40c751
Author: Akshita Jha <[email protected]>
Date:   Thu Aug 6 13:58:02 2015 +0530

    Modify test_output.py : Do not compute diff for timestamps

diff --git a/webtools_py3/test_output.py b/webtools_py3/test_output.py
index f778817..9ddbb06 100755
--- a/webtools_py3/test_output.py
+++ b/webtools_py3/test_output.py
@@ -23,6 +23,9 @@ class BlendsHTMLParser(HTMLParser):
 
     def handle_starttag(self, tag, attrs):
         global s
+        # self.flag = 1, for the timestamp
+        if tag == 'address':
+            self.flag = 1
         self.tmp = self.tmp + " <start_tag> : %s" %tag.strip()
         for attr in attrs:
             # self.flag = 1, for entire class publshed
@@ -36,6 +39,7 @@ class BlendsHTMLParser(HTMLParser):
         self.tmp = self.tmp + " <end_tag> : %s" %tag.strip()
         # if self.flag == 1, do not append to list
         # hence diff for this will not be calculated
+        # for class 'published' and for timestamp
         if self.flag == 0:
             self.data.append(self.tmp)
         elif self.flag == 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