From 74945dd457a9f1a31d7f855146b73289754cceec Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 9 Sep 2018 11:52:15 +0300 Subject: Add: str(Version) --- ick_helpers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ick_helpers.py b/ick_helpers.py index 477c615..76e8bbc 100644 --- a/ick_helpers.py +++ b/ick_helpers.py @@ -125,6 +125,9 @@ class Version: def __init__(self, full_version): self._full_version = full_version + def __str__(self): + return self._full_version + @property def full(self): return self._full_version -- cgit v1.2.1