Skip to content

Commit

Permalink
Fixed assorted typos (Collector #218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Simpson committed May 21, 2001
1 parent fcbff65 commit 31ab13f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ZCatalog.py
Expand Up @@ -721,11 +721,10 @@ def manage_normalize_paths(self, REQUEST):

def manage_convertBTrees(self, threshold=200):
"""Convert the catalog's data structures to use BTrees package"""
assert type(threshold) is type(0)
tt=time.time()
ct=time.clock()
self._catalog._convertBTrees(threshold
*1 #make sure ints an int)
)
self._catalog._convertBTrees(threshold)
tt=time.time()-tt
ct=time.clock()-ct
return 'Finished conversion in %s seconds (%s cpu)' % (tt, ct)
Expand Down

0 comments on commit 31ab13f

Please sign in to comment.