Changeset 310baea in rattail-demo


Ignore:
Timestamp:
07/15/2020 09:45:48 PM (3 years ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
25a7d46
Parents:
0729a89
Message:

Tweak how we show pyCOREPOS package version

per upstream changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rattail_demo/web/views/common.py

    r0729a89 r310baea  
    1515
    1616    def get_packages(self):
    17         import corepos._version
     17        import corepos
    1818        import rattail_corepos
    1919        import rattail_tempmon
     
    2121
    2222        packages = super(CommonView, self).get_packages()
    23         packages['pyCOREPOS'] = corepos._version.__version__
     23        packages['pyCOREPOS'] = corepos.__version__
    2424        packages['rattail-corepos'] = rattail_corepos.__version__
    2525        packages['rattail-tempmon'] = rattail_tempmon.__version__
Note: See TracChangeset for help on using the changeset viewer.