Skip to content
Snippets Groups Projects
Commit 2d6c9bb3 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipaclient/library/ipa_facts.py: Fix version_info for new pre versions

With 4.6.90 pre versions have been introduced. The version parsing in
ipa_facts broke with this as it did not know about pre versions so far.
parent 28579023
Branches
Tags
No related merge requests found
......@@ -113,7 +113,8 @@ def get_ipa_version():
# DEV versions look like:
# 4.4.90.201610191151GITd852c00
# 4.4.90.dev201701071308+git2e43db1
if part.startswith('dev') or 'GIT' in part:
# 4.6.90.pre2
if part.startswith('dev') or part.startswith('pre') or 'GIT' in part:
version_info.append(part)
else:
version_info.append(int(part))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment