imdiff 0.4.5__tar.gz → 0.4.6__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.
Files changed (32) hide show
  1. {imdiff-0.4.5 → imdiff-0.4.6}/PKG-INFO +1 -1
  2. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/version.py +1 -1
  3. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff.egg-info/PKG-INFO +1 -1
  4. {imdiff-0.4.5 → imdiff-0.4.6}/LICENSE +0 -0
  5. {imdiff-0.4.5 → imdiff-0.4.6}/README.md +0 -0
  6. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/__init__.py +0 -0
  7. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/__main__.py +0 -0
  8. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/cli/__init__.py +0 -0
  9. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/cli/dir_diff.py +0 -0
  10. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/cli/image_diff.py +0 -0
  11. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/cli/main.py +0 -0
  12. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/directory_comparator.py +2 -2
  13. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/__init__.py +0 -0
  14. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/dir_diff_main_window.py +0 -0
  15. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/file_list_frame.py +0 -0
  16. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/image_canvas.py +0 -0
  17. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/image_diff_main_window.py +0 -0
  18. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/image_frame.py +0 -0
  19. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/image_scaling.py +0 -0
  20. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/status_bar.py +0 -0
  21. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/transient_menu.py +0 -0
  22. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/gui/zoom_menu.py +0 -0
  23. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/image_comparator.py +0 -0
  24. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/list_files.py +0 -0
  25. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff/util.py +0 -0
  26. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff.egg-info/SOURCES.txt +0 -0
  27. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff.egg-info/dependency_links.txt +0 -0
  28. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff.egg-info/entry_points.txt +0 -0
  29. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff.egg-info/requires.txt +0 -0
  30. {imdiff-0.4.5 → imdiff-0.4.6}/imdiff.egg-info/top_level.txt +0 -0
  31. {imdiff-0.4.5 → imdiff-0.4.6}/pyproject.toml +0 -0
  32. {imdiff-0.4.5 → imdiff-0.4.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imdiff
3
- Version: 0.4.5
3
+ Version: 0.4.6
4
4
  Summary: Compare image files in different directories
5
5
  Author-email: "John T. Goetz" <theodore.goetz@gmail.com>
6
6
  Project-URL: homepage, https://gitlab.com/johngoetz/imdiff
@@ -1,2 +1,2 @@
1
- __version__ = '0.4.5'
1
+ __version__ = '0.4.6'
2
2
  version_info = __version__.split('.')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imdiff
3
- Version: 0.4.5
3
+ Version: 0.4.6
4
4
  Summary: Compare image files in different directories
5
5
  Author-email: "John T. Goetz" <theodore.goetz@gmail.com>
6
6
  Project-URL: homepage, https://gitlab.com/johngoetz/imdiff
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -19,9 +19,9 @@ def dir_diff(leftdir, rightdir):
19
19
  dinfo = collections.defaultdict(list)
20
20
  for subpath, left, right in list_files(leftdir, rightdir):
21
21
  if not left.is_file():
22
- dinfo['missing'].append(subpath)
23
- elif not right.is_file():
24
22
  dinfo['new'].append(subpath)
23
+ elif not right.is_file():
24
+ dinfo['missing'].append(subpath)
25
25
  elif filecmp.cmp(left, right, shallow=False):
26
26
  dinfo['identical'].append(subpath)
27
27
  elif is_image(left) and is_image(right):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes