-
Committer:
samsnotunix at gmail
-
Date:
2011-02-16 18:50:42 UTC
-
Revision ID:
samsnotunix@gmail.com-20110216185042-2h5kwazvsny29dw2
Fixed bug with int casting in pruning. When self.dent_limit is set in heybuddy.py it is set as self.initial_dent*2.
Since the configuration module in python returns everything as a string self.initial_dent*2 would give a result of
'3030' if initial_dent=30 for instance. So when pruning happened it pruned against 3030 instead of 60. Fixed
by casting self.initial_dent to int when setting dent_limit