From: Christian Herdtweck Date: Wed, 29 Jun 2016 15:08:14 +0000 (+0200) Subject: remove warning that is triggered quite often and purely informal X-Git-Tag: v1.2~21 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=170df8c104d2f4668031ecfed83f439a1b675cd2;p=pyi2ncommon remove warning that is triggered quite often and purely informal --- diff --git a/src/log_read.py b/src/log_read.py index c1e8c68..c5c5e0a 100644 --- a/src/log_read.py +++ b/src/log_read.py @@ -234,12 +234,6 @@ class IterativeReader: warn('io error reading from {0} / {1}: {2})' .format(obj, description, ose), category=LogReadWarning) - if len(new_data) != new_size - last_size: - warn('read unexpected amount from {0} / {1}: ' - '{2} bytes instead of {3} bytes!' - .format(obj, description, len(new_data), - new_size-last_size), - category=LogReadWarning) # post-processing to_yield = self.prepare_result(description, new_data, idx)