Changes between Version 1 and Version 2 of Ticket #12294, comment 1
- Timestamp:
- Jan 2, 2016, 12:52:38 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12294, comment 1
v1 v2 18 18 However, `get_pkginfo(PIL)['version']` seems much simpler. `get_pkginfo(PIL).get('version', '')` might be even safer. 19 19 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` for the Trac package? Obviously plugins could omit the attribute.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` for the Trac package?