From 310baea00f4b179d1af84f5391de14ac409bc548 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 15 Jul 2020 21:45:48 -0500 Subject: [PATCH] Tweak how we show pyCOREPOS package version per upstream changes --- rattail_demo/web/views/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rattail_demo/web/views/common.py b/rattail_demo/web/views/common.py index b6b9f59..7db82b8 100644 --- a/rattail_demo/web/views/common.py +++ b/rattail_demo/web/views/common.py @@ -14,13 +14,13 @@ class CommonView(base.CommonView): project_version = rattail_demo.__version__ + '+dev' def get_packages(self): - import corepos._version + import corepos import rattail_corepos import rattail_tempmon import tailbone_corepos packages = super(CommonView, self).get_packages() - packages['pyCOREPOS'] = corepos._version.__version__ + packages['pyCOREPOS'] = corepos.__version__ packages['rattail-corepos'] = rattail_corepos.__version__ packages['rattail-tempmon'] = rattail_tempmon.__version__ packages['tailbone-corepos'] = tailbone_corepos.__version__