Skip to content

Commit

Permalink
Don't play with _privates
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Apr 12, 2019
1 parent 9cff368 commit a3ef341
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ def readfile(name):
'virtualenv', # for scaffolding tests
]

major_version = ".".join(
str(v) for v in parse_version(VERSION)._version.release[:2]
)
major_version = ".".join(VERSION.split(".")[:2])

# black is refusing to make anything under 80 chars so just splitting it up
docs_fmt = 'https://docs.pylonsproject.org/projects/pyramid/en/{}-branch/'
Expand Down

0 comments on commit a3ef341

Please sign in to comment.