Fixed issue #34

This commit is contained in:
Ahmet Bakan 2015-04-13 21:32:14 -07:00
parent 9c8039f6cc
commit acc5ed43c4
2 changed files with 2 additions and 2 deletions

View file

@ -491,7 +491,7 @@ class Collection(object):
def __str__(self):
return str(self.name)
return text_type(self.name)
def __len__(self):

View file

@ -408,7 +408,7 @@ def process_postlist(app, doctree, docname):
par.append(ref)
emp = nodes.emphasis()
ref.append(emp)
emp.append(nodes.Text(str(item)))
emp.append(nodes.Text(text_type(item)))
if i + 1 < len(items):
par.append(nodes.Text(', '))
if excerpts: