Syntax tweak

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Adam D. Barratt 2011-11-14 18:28:32 +00:00
parent 7045c6e549
commit 111d6b791a

View File

@ -36,7 +36,7 @@ class MigrationItem:
self._set_name(name)
def __str__(self):
if self._versionned and not self.version is None:
if self._versionned and self.version is not None:
return self.name
else:
return self.uvname