]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_p2p_Khashmir/ktable.py
Remove some unnecessary calls to log.err and just print the error message instead.
[quix0rs-apt-p2p.git] / apt_p2p_Khashmir / ktable.py
index 499c4d852e1e848fb93f30271728e0391a0cf256..f38789803df27d1c3d13351c280546be170595e2 100644 (file)
@@ -239,7 +239,7 @@ class KTable:
         
         # Make sure our table isn't FULL, this is really unlikely
         if len(self.buckets) >= (khash.HASH_LENGTH*8):
-            log.err("Hash Table is FULL!  Increase K!")
+            log.err(RuntimeError("Hash Table is FULL! Increase K!"))
             return
             
         # This bucket is full and contains our node, split the bucket