diff --git a/IPython/Extensions/pickleshare.py b/IPython/Extensions/pickleshare.py index 54b73e4..ac2e77a 100644 --- a/IPython/Extensions/pickleshare.py +++ b/IPython/Extensions/pickleshare.py @@ -124,9 +124,10 @@ class PickleShareDB(UserDict.DictMixin): def hdict(self, hashroot): """ Get all data contained in hashed category 'hashroot' as dict """ hfiles = self.keys(hashroot + "/*") + hfiles.sort() last = len(hfiles) and hfiles[-1] or '' if last.endswith('xx'): - print "using xx" + # print "using xx" hfiles = [last] + hfiles[:-1] all = {}