diff --git a/migrationitem.py b/migrationitem.py index 4405cac..67e5efd 100644 --- a/migrationitem.py +++ b/migrationitem.py @@ -23,6 +23,12 @@ class MigrationItem: if name: self._set_name(name) + def __str__(self): + if self._versionned and not self.version is None: + return self.name + else: + return self.uvname + def _get_name(self): return self._name