htmlcmp 1.0.17__tar.gz → 1.0.18__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.17 → htmlcmp-1.0.18}/PKG-INFO +1 -1
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/pyproject.toml +1 -1
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp/compare_output_server.py +6 -6
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp.egg-info/PKG-INFO +1 -1
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/README.md +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/setup.cfg +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp/__init__.py +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp/common.py +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp/compare_output.py +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp/html_render_diff.py +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp/tidy_output.py +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp.egg-info/SOURCES.txt +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp.egg-info/dependency_links.txt +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp.egg-info/entry_points.txt +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp.egg-info/requires.txt +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/src/htmlcmp.egg-info/top_level.txt +0 -0
- {htmlcmp-1.0.17 → htmlcmp-1.0.18}/tests/test_html_render_diff.py +0 -0
|
@@ -40,7 +40,7 @@ class Observer:
|
|
|
40
40
|
event_type = event.event_type
|
|
41
41
|
src_path = Path(event.src_path)
|
|
42
42
|
|
|
43
|
-
logger.
|
|
43
|
+
logger.debug(f"Watchdog event: {event_type} {src_path}")
|
|
44
44
|
|
|
45
45
|
if event_type not in ["moved", "deleted", "created", "modified"]:
|
|
46
46
|
return
|
|
@@ -64,7 +64,7 @@ class Observer:
|
|
|
64
64
|
self._observer.start()
|
|
65
65
|
|
|
66
66
|
def init_compare(a: Path, b: Path):
|
|
67
|
-
logger.
|
|
67
|
+
logger.debug(f"Initial compare: {a} vs {b}")
|
|
68
68
|
|
|
69
69
|
if not isinstance(a, Path) or not isinstance(b, Path):
|
|
70
70
|
raise TypeError("Paths must be of type Path")
|
|
@@ -350,13 +350,13 @@ def file(variant: str, path: str):
|
|
|
350
350
|
|
|
351
351
|
def setup_logging(verbosity: int):
|
|
352
352
|
if verbosity >= 3:
|
|
353
|
-
level = logging.VERBOSE
|
|
354
|
-
elif verbosity == 2:
|
|
355
353
|
level = logging.DEBUG
|
|
356
|
-
elif verbosity ==
|
|
354
|
+
elif verbosity == 2:
|
|
357
355
|
level = logging.INFO
|
|
358
|
-
|
|
356
|
+
elif verbosity == 1:
|
|
359
357
|
level = logging.WARNING
|
|
358
|
+
else:
|
|
359
|
+
level = logging.ERROR
|
|
360
360
|
|
|
361
361
|
formatter = logging.Formatter(
|
|
362
362
|
fmt="%(asctime)s [%(levelname)s] %(name)s: %(message)s",
|
|
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
|
|
File without changes
|