htmlcmp 1.0.9__tar.gz → 1.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/PKG-INFO +1 -1
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/pyproject.toml +1 -1
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp/compare_output.py +4 -4
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp.egg-info/PKG-INFO +1 -1
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/README.md +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/setup.cfg +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp/__init__.py +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp/common.py +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp/compare_output_server.py +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp/html_render_diff.py +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp/tidy_output.py +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp.egg-info/SOURCES.txt +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp.egg-info/dependency_links.txt +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp.egg-info/entry_points.txt +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp.egg-info/requires.txt +0 -0
- {htmlcmp-1.0.9 → htmlcmp-1.0.10}/src/htmlcmp.egg-info/top_level.txt +0 -0
|
@@ -44,16 +44,16 @@ def compare_html(a, b, browser=None, diff_output=None):
|
|
|
44
44
|
def compare_files(a, b, **kwargs):
|
|
45
45
|
if filecmp.cmp(a, b):
|
|
46
46
|
return True
|
|
47
|
-
if a.
|
|
47
|
+
if a.suffix == ".json":
|
|
48
48
|
return compare_json(a, b)
|
|
49
|
-
if a.
|
|
49
|
+
if a.suffix == ".html":
|
|
50
50
|
return compare_html(a, b, **kwargs)
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
def comparable_file(path):
|
|
54
|
-
if path.
|
|
54
|
+
if path.suffix == ".json":
|
|
55
55
|
return True
|
|
56
|
-
if path.
|
|
56
|
+
if path.suffix == ".html":
|
|
57
57
|
return True
|
|
58
58
|
return False
|
|
59
59
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|