remove warning that is triggered quite often and purely informal
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 29 Jun 2016 15:08:14 +0000 (17:08 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 29 Jun 2016 15:08:14 +0000 (17:08 +0200)
src/log_read.py

index c1e8c68..c5c5e0a 100644 (file)
@@ -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)