Edgewall Software

Changes between Initial Version and Version 1 of Ticket #12294, comment 1


Ignore:
Timestamp:
Dec 29, 2015, 6:05:48 AM (8 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12294, comment 1

    initial v1  
    1818However, `get_pkginfo(PIL)['version']` seems much simpler. `get_pkginfo(PIL).get('version', '')` might be even safer.
    1919
    20 Related: I'm still unsure of the complexity of the `trac_version` method that was created by extracting code in [14354/trunk/trac/env.py]. Under which conditions would `get_pkginfo(core).get('version')` return `None`?
     20Related: I'm still unsure of the complexity of the `trac_version` method that was created by extracting code in [14354/trunk/trac/env.py]. Under which conditions would `get_pkginfo(core).get('version')` return `None` for the Trac package? Obviously plugins could omit the attribute.