Skip to content

Commit

Permalink
Fix the distribution name in one more place.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Sep 16, 2017
1 parent bb7837c commit e5d2966
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -69,7 +69,7 @@ Breaking changes
new `OFS.Folder` instances.

- Removed the `App.version_txt.getZopeVersion` API, you can use
``pkg_resources.get_distribution('Zope2').version`` instead.
``pkg_resources.get_distribution('Zope').version`` instead.

- On the application object, removed `PrincipiaTime` in favor of `ZopeTime` and
`PrincipiaRedirect` in favor of `Redirect` or `ZopeRedirect`.
Expand Down
2 changes: 1 addition & 1 deletion src/App/version_txt.py
Expand Up @@ -22,7 +22,7 @@ def _prep_version_data():
if _version_string is None:
v = sys.version_info
pyver = "python %d.%d.%d, %s" % (v[0], v[1], v[2], sys.platform)
dist = pkg_resources.get_distribution('Zope2')
dist = pkg_resources.get_distribution('Zope')
_version_string = "%s, %s" % (dist.version, pyver)


Expand Down

0 comments on commit e5d2966

Please sign in to comment.