mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-21 05:58:52 +02:00
Remove superfluous try-except from meter import
Since commit 8a6abe3a6c
("warn user
if python-progressbar is not installed") it is always safe to import
the meter module (even if the progressbar module is not installed).
This commit is contained in:
@@ -23,10 +23,7 @@ from . import oscerr
|
||||
import tempfile
|
||||
import re
|
||||
|
||||
try:
|
||||
from .meter import TextMeter
|
||||
except ImportError:
|
||||
TextMeter = None
|
||||
from .meter import TextMeter
|
||||
|
||||
|
||||
class Fetcher:
|
||||
|
Reference in New Issue
Block a user