python3 cannot compare None with str, so store '' as sortkey instead

svn: r20666
This commit is contained in:
Benny Malengier 2012-11-17 10:28:35 +00:00
parent 22dd2eb45a
commit 945819631c

View File

@ -103,7 +103,7 @@ class Node(object):
self.sortkey = conv_unicode_tosrtkey(self.name)
else:
self.name = ''
self.sortkey = None
self.sortkey = ''
self.ref = ref
self.handle = handle
self.secondary = secondary