python-debian 1.0.0__tar.gz → 1.0.1__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 (31) hide show
  1. {python-debian-1.0.0 → python-debian-1.0.1}/PKG-INFO +1 -1
  2. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_version.py +2 -2
  3. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/deb822.py +2 -1
  4. {python-debian-1.0.0 → python-debian-1.0.1}/src/python_debian.egg-info/PKG-INFO +1 -1
  5. {python-debian-1.0.0 → python-debian-1.0.1}/README.rst +0 -0
  6. {python-debian-1.0.0 → python-debian-1.0.1}/pyproject.toml +0 -0
  7. {python-debian-1.0.0 → python-debian-1.0.1}/setup.cfg +0 -0
  8. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/__init__.py +0 -0
  9. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_arch_table.py +0 -0
  10. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_deb822_repro/__init__.py +0 -0
  11. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_deb822_repro/_util.py +0 -0
  12. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_deb822_repro/formatter.py +0 -0
  13. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_deb822_repro/locatable.py +0 -0
  14. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_deb822_repro/parsing.py +0 -0
  15. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_deb822_repro/tokens.py +0 -0
  16. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_deb822_repro/types.py +0 -0
  17. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/_util.py +0 -0
  18. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/arfile.py +0 -0
  19. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/changelog.py +0 -0
  20. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/copyright.py +0 -0
  21. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/debfile.py +0 -0
  22. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/debian_support.py +0 -0
  23. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/debtags.py +0 -0
  24. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/doc-debtags +0 -0
  25. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/py.typed +0 -0
  26. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/substvars.py +0 -0
  27. {python-debian-1.0.0 → python-debian-1.0.1}/src/debian/watch.py +0 -0
  28. {python-debian-1.0.0 → python-debian-1.0.1}/src/python_debian.egg-info/SOURCES.txt +0 -0
  29. {python-debian-1.0.0 → python-debian-1.0.1}/src/python_debian.egg-info/dependency_links.txt +0 -0
  30. {python-debian-1.0.0 → python-debian-1.0.1}/src/python_debian.egg-info/requires.txt +0 -0
  31. {python-debian-1.0.0 → python-debian-1.0.1}/src/python_debian.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-debian
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Modules to read and manipulate many file formats related to Debian packages and repositories
5
5
  Author-email: Debian python-debian Maintainers <pkg-python-debian-maint@lists.alioth.debian.org>
6
6
  License: GPL-2.0-or-later
@@ -1,4 +1,4 @@
1
1
  # file generated by setuptools_scm
2
2
  # don't change, don't track in version control
3
- __version__ = version = '1.0.0'
4
- __version_tuple__ = version_tuple = (1, 0, 0)
3
+ __version__ = version = '1.0.1'
4
+ __version_tuple__ = version_tuple = (1, 0, 1)
@@ -705,7 +705,8 @@ class Deb822(Deb822Dict):
705
705
 
706
706
  is_filename_like = (
707
707
  isinstance(sequence, Path) or
708
- (isinstance(sequence, str) and "\n" not in sequence and Path(sequence).exists())
708
+ (isinstance(sequence, str) and sequence and "\n" not in sequence and
709
+ Path(sequence).exists() and Path(sequence).is_file())
709
710
  )
710
711
 
711
712
  apt_pkg_allowed = use_apt_pkg and (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-debian
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Modules to read and manipulate many file formats related to Debian packages and repositories
5
5
  Author-email: Debian python-debian Maintainers <pkg-python-debian-maint@lists.alioth.debian.org>
6
6
  License: GPL-2.0-or-later
File without changes
File without changes