Skip to content

Commit

Permalink
sphinx: fix version string computation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Aug 28, 2023
1 parent 175818f commit 7246e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
from nsupdate import version as nsupdate_version
from nsupdate import version_tuple as nsupdate_version
# The short X.Y version.
version = '%d.%d' % nsupdate_version[:2]
# The full version, including alpha/beta/rc tags.
Expand Down
2 changes: 1 addition & 1 deletion src/nsupdate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import re

from ._version import version
from ._version import version, version_tuple


class Version(tuple): # pragma: no cover
Expand Down

0 comments on commit 7246e0f

Please sign in to comment.