try/except import are now handled by flake8 2.0+ / pyflakes 0.6+
This commit is contained in:
parent
a1267abfc3
commit
be3e19a203
14 changed files with 17 additions and 17 deletions
|
|
@ -29,8 +29,8 @@ try:
|
|||
from yaml import CLoader as Loader
|
||||
from yaml import CDumper as Dumper
|
||||
except ImportError:
|
||||
from yaml import Loader # NOQA
|
||||
from yaml import Dumper # NOQA
|
||||
from yaml import Loader
|
||||
from yaml import Dumper
|
||||
|
||||
from .iconfig import IConfig, ConfigError
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue