Commit 74ae738d authored by Dave Jones's avatar Dave Jones
Browse files

Stop mypy whinging

Fix a trivial "unused comment" complaint from mypy
parent a44b9f10
......@@ -129,7 +129,7 @@ class AcquireProgress(base.AcquireProgress, TextProgress):
import fcntl
import termios
import struct
buf = fcntl.ioctl(self._file, termios.TIOCGWINSZ, 8 * b' ') # type: ignore # noqa
buf = fcntl.ioctl(self._file, termios.TIOCGWINSZ, 8 * b' ') # noqa
dummy, col, dummy, dummy = struct.unpack('hhhh', buf)
self._width = col - 1 # 1 for the cursor
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment