#3223: Trunk revision 13203 causes crash of gramplet surnamecloud

svn: r13220
This commit is contained in:
Doug Blank 2009-09-18 01:41:31 +00:00
parent 62c1447001
commit 4e3ebe9db4

View File

@ -111,7 +111,8 @@ class SurnameCloudGramplet(Gramplet):
cloud_values.append( count )
cloud_names.sort(key=lambda k:k[1])
counts = reversed(set(cloud_values))
counts = list(set(cloud_values))
counts.sort(reverse=True)
line = 0
### All done!
# Now, find out how many we can display without going over top_size: