Commit 926e34b0 authored by Evan Simpson's avatar Evan Simpson

Fixed assorted typos (Collector #218)

parent 39df3920
...@@ -721,11 +721,10 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -721,11 +721,10 @@ class ZCatalog(Folder, Persistent, Implicit):
def manage_convertBTrees(self, threshold=200): def manage_convertBTrees(self, threshold=200):
"""Convert the catalog's data structures to use BTrees package""" """Convert the catalog's data structures to use BTrees package"""
assert type(threshold) is type(0)
tt=time.time() tt=time.time()
ct=time.clock() ct=time.clock()
self._catalog._convertBTrees(threshold self._catalog._convertBTrees(threshold)
*1 #make sure ints an int)
)
tt=time.time()-tt tt=time.time()-tt
ct=time.clock()-ct ct=time.clock()-ct
return 'Finished conversion in %s seconds (%s cpu)' % (tt, ct) return 'Finished conversion in %s seconds (%s cpu)' % (tt, ct)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment