python3 cannot compare None with str, so store '' as sortkey instead
svn: r20666
This commit is contained in:
parent
22dd2eb45a
commit
945819631c
@ -103,7 +103,7 @@ class Node(object):
|
|||||||
self.sortkey = conv_unicode_tosrtkey(self.name)
|
self.sortkey = conv_unicode_tosrtkey(self.name)
|
||||||
else:
|
else:
|
||||||
self.name = ''
|
self.name = ''
|
||||||
self.sortkey = None
|
self.sortkey = ''
|
||||||
self.ref = ref
|
self.ref = ref
|
||||||
self.handle = handle
|
self.handle = handle
|
||||||
self.secondary = secondary
|
self.secondary = secondary
|
||||||
|
Loading…
Reference in New Issue
Block a user