mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-02 05:11:35 +00:00
Merge branch 'options-not-mutually-exclusive'
This commit is contained in:
commit
4784a4c99b
@ -446,11 +446,8 @@ class Britney(object):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
# integrity checks
|
# integrity checks
|
||||||
if self.options.nuninst_cache and self.options.print_uninst: # pragma: no cover
|
|
||||||
self.logger.error("nuninst_cache and print_uninst are mutually exclusive!")
|
|
||||||
sys.exit(1)
|
|
||||||
# if the configuration file exists, then read it and set the additional options
|
# if the configuration file exists, then read it and set the additional options
|
||||||
elif not os.path.isfile(self.options.config): # pragma: no cover
|
if not os.path.isfile(self.options.config): # pragma: no cover
|
||||||
self.logger.error("Unable to read the configuration file (%s), exiting!", self.options.config)
|
self.logger.error("Unable to read the configuration file (%s), exiting!", self.options.config)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user