daplapath 2.0.11__tar.gz → 2.0.12__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.
- {daplapath-2.0.11 → daplapath-2.0.12}/PKG-INFO +1 -1
- {daplapath-2.0.11 → daplapath-2.0.12}/daplapath/path.py +1 -6
- {daplapath-2.0.11 → daplapath-2.0.12}/pyproject.toml +1 -1
- {daplapath-2.0.11 → daplapath-2.0.12}/LICENSE.md +0 -0
- {daplapath-2.0.11 → daplapath-2.0.12}/README.md +0 -0
- {daplapath-2.0.11 → daplapath-2.0.12}/daplapath/__init__.py +0 -0
|
@@ -730,12 +730,7 @@ class Path(str, _PathBase):
|
|
|
730
730
|
return self._new(self.split(self.suffix)[0] + self.suffix)
|
|
731
731
|
|
|
732
732
|
def is_partitioned(self) -> bool:
|
|
733
|
-
if (
|
|
734
|
-
not self.suffix
|
|
735
|
-
or self.suffix not in self
|
|
736
|
-
or self.isfile()
|
|
737
|
-
and self.count(self.suffix) != 2
|
|
738
|
-
):
|
|
733
|
+
if not self.suffix or self.count(self.suffix) != 2:
|
|
739
734
|
return False
|
|
740
735
|
return bool(len(self.glob(f"**/*{self.suffix}")))
|
|
741
736
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|