1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Author: Andreas Tille <tille@debian.org>
Last-Update: Sat, 07 Dec 2019 21:44:15 +0100
Description: For some reason pkg_resources.get_distribution('pbcommand') fails
This patch makes sure a valid version will be set initially
.
FIXME: Needs to be adapted fro new upstream versions
--- a/pbcommand/__init__.py
+++ b/pbcommand/__init__.py
@@ -4,7 +4,7 @@ import sys
try:
__VERSION__ = pkg_resources.get_distribution('pbcommand').version
except Exception:
- __VERSION__ = 'unknown'
+ __VERSION__ = '1.1.1'
VERSION = (int(x) for x in __VERSION__.split('.'))
|