Show More
@@ -124,9 +124,10 b' class PickleShareDB(UserDict.DictMixin):' | |||
|
124 | 124 | def hdict(self, hashroot): |
|
125 | 125 | """ Get all data contained in hashed category 'hashroot' as dict """ |
|
126 | 126 | hfiles = self.keys(hashroot + "/*") |
|
127 | hfiles.sort() | |
|
127 | 128 | last = len(hfiles) and hfiles[-1] or '' |
|
128 | 129 | if last.endswith('xx'): |
|
129 | print "using xx" | |
|
130 | # print "using xx" | |
|
130 | 131 | hfiles = [last] + hfiles[:-1] |
|
131 | 132 | |
|
132 | 133 | all = {} |
General Comments 0
You need to be logged in to leave comments.
Login now