The python-progress rpms
Find a file
Pavel Raiskup bbc325efdb Make sure the SMA window has really at least 2 seconds
This could cause problems on very unstable connections.  When next()
wasn't called for a long time, and then it was called very frequently
(so time() returned 4x the same value) we were clean()ing the
window.dequeue so much so we got "last" equal to "deque[0][0]",
therefore counter/(last - deque[0][0]) could cause a division by zero.

In theory, this would also solve some temporary situations when
subsequent calls to time() did not return consecutive values:

    >>> a = time() ; b = time() ; a > b
    True

Resolves: rhbz#2103093
Version: 1.6-4
2022-07-02 11:07:04 +02:00
.gitignore Updates from PR#3 2018-12-11 15:36:25 +01:00
0001-fixup-moving-average-window.patch Make sure the SMA window has really at least 2 seconds 2022-07-02 11:07:04 +02:00
python-progress.spec Make sure the SMA window has really at least 2 seconds 2022-07-02 11:07:04 +02:00
sources New upstream release 2021-12-04 19:50:18 +01:00