Remove unsued variable
This commit is contained in:
parent
7a58109928
commit
8e44c5126e
|
@ -52,7 +52,7 @@ class Config(object):
|
||||||
raise exceptions.ConfigNotFoundError('Couldn\'t read config at {config_path}'.format(
|
raise exceptions.ConfigNotFoundError('Couldn\'t read config at {config_path}'.format(
|
||||||
config_path=str(config_path),
|
config_path=str(config_path),
|
||||||
))
|
))
|
||||||
except yaml.YAMLError as e:
|
except yaml.YAMLError:
|
||||||
raise exceptions.ConfigSyntaxError('Error parsing YAML')
|
raise exceptions.ConfigSyntaxError('Error parsing YAML')
|
||||||
|
|
||||||
if 'printer' in config:
|
if 'printer' in config:
|
||||||
|
|
Loading…
Reference in New Issue