Commit e9602bf7 authored by Vincent Pelletier's avatar Vincent Pelletier

Prune very old, commented-out code.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26199 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f474ab34
...@@ -1118,12 +1118,6 @@ class Catalog(Folder, ...@@ -1118,12 +1118,6 @@ class Catalog(Folder,
uid_buffer = self.getUIDBuffer() uid_buffer = self.getUIDBuffer()
if len(uid_buffer) > 0: if len(uid_buffer) > 0:
uid = uid_buffer.pop() uid = uid_buffer.pop()
# Vincent added this 2006/01/25
#if uid > 4294967296: # 2**32
#if uid > 10000000: # arbitrary level : below it's normal, above it's suspicious
# LOG('SQLCatalog', WARNING, 'Newly generated UID (%s) seems too big ! - vincent' % (uid,))
# raise RuntimeError, 'Newly generated UID (%s) seems too big ! - vincent' % (uid,)
# end
if self._max_uid is None: if self._max_uid is None:
self._max_uid = Length(1) self._max_uid = Length(1)
if uid > self._max_uid(): if uid > self._max_uid():
......
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