mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-06-25 23:18:07 -07:00
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
20 lines
602 B
Diff
20 lines
602 B
Diff
diff -ur path.py-12.0.2.orig/path/__init__.py path.py-12.0.2/path/__init__.py
|
|
--- path.py-12.0.2.orig/path/__init__.py 2019-11-20 17:17:03.644205243 -0800
|
|
+++ path.py-12.0.2/path/__init__.py 2019-11-20 17:17:57.356875924 -0800
|
|
@@ -72,7 +72,13 @@
|
|
|
|
__version__ = importlib_metadata.version('path.py')
|
|
except Exception:
|
|
- __version__ = 'unknown'
|
|
+ try:
|
|
+ import importlib.metadata
|
|
+
|
|
+ __version__ = importlib.metadata.version('path.py')
|
|
+
|
|
+ except Exception:
|
|
+ __version__ = 'unknown'
|
|
|
|
|
|
class TreeWalkWarning(Warning):
|
|
Only in path.py-12.0.2/path: .__init__.py.un~
|