Replace u'' for None

bzr-revno: 1755
Fixes: https://launchpad.net/bugs/855368
This commit is contained in:
Tim Bentley 2011-09-21 18:48:22 +01:00
commit 0e2d6cb45f

View File

@ -466,7 +466,7 @@ class ServiceItem(object):
'<strong>Length</strong>: %s')) % \
unicode(datetime.timedelta(seconds=self.media_length))
if not start and not end:
return None
return u''
elif start and not end:
return start
elif not start and end: