Skip to content
Snippets Groups Projects
Commit d52cc410 authored by Lukas Juhrich's avatar Lukas Juhrich Committed by Dan Michael O. Heggø
Browse files

Refactor out initial version determination

For determining the version, I created a staticmethod (because this does
not really depend on the state of the instance) which makes things more
readable – `self.version = self.version_tuple_from_generator()` is
self-explaining and shortens the amount of code to comprehend in the
`site_init` method.
parent 6dfa9fd1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment