little bugfix

This commit is contained in:
David Halter
2012-04-07 21:16:36 +02:00
parent 527fdcd6a2
commit f91fb8027e

View File

@@ -105,7 +105,7 @@ class CompletionMatch(object):
self.has_dot = has_dot
def __str__(self):
dot = '.' if self.has_dot else ''
dot = '' if self.has_dot else '.'
return dot + self.name.names[-1]