progress: Resolve E722

E722: do not use bare except, specify exception instead

Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
This commit is contained in:
Radostin Stoyanov 2018-10-25 13:37:48 +01:00 committed by Cole Robinson
parent c3453422f2
commit 3468a2ec1f
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ def terminal_width(fd=1):
return 80
# Add minimum too?
return ret
except: # IOError
except IOError:
return 80