Skip to content

Commit

Permalink
Strip newline from quilt3.__version__ (#2109)
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-sigurd authored Mar 19, 2021
1 parent 29200ec commit 6ab1b11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/python/quilt3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from pathlib import Path

__version__ = Path(Path(__file__).parent, "VERSION").read_text()
__version__ = Path(Path(__file__).parent, "VERSION").read_text().strip()

from . import admin
from .api import (
Expand Down
2 changes: 1 addition & 1 deletion api/python/quilt3/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def create_parser():
"--version",
help="Show quilt3 version and exit",
action="version",
version=quilt3_version.strip()
version=quilt3_version,
)

subparsers = parser.add_subparsers(metavar="<command>")
Expand Down

0 comments on commit 6ab1b11

Please sign in to comment.