quick fix for py3 compatibility
This commit is contained in:
parent
2f72e7058f
commit
7344f7e284
@ -322,7 +322,7 @@ class RelatedHost(models.Model):
|
||||
|
||||
def __unicode__(self):
|
||||
return u"%s.%s" % (
|
||||
self.name, unicode(self.main_host))
|
||||
self.name, self.main_host.__unicode__())
|
||||
|
||||
class Meta(object):
|
||||
unique_together = (('name', 'main_host'), )
|
||||
|
Loading…
x
Reference in New Issue
Block a user