Merge ~vorlon/britney/+git/britney2-ubuntu:options-not-mutually-exclusive into ~ubuntu-release/britney/+git/britney2-ubuntu:master

Proposed by Steve Langasek
Status: Merged
Merged at revision: 4784a4c99b74d200f0e9fa280b26866b162e3fcb
Proposed branch: ~vorlon/britney/+git/britney2-ubuntu:options-not-mutually-exclusive
Merge into: ~ubuntu-release/britney/+git/britney2-ubuntu:master
Diff against target: 16 lines (+1/-4)
1 file modified
britney.py (+1/-4)
Reviewer Review Type Date Requested Status
Brian Murray Approve
Review via email: mp+409810@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/britney.py b/britney.py
index 3f21937..b5deff2 100755
--- a/britney.py
+++ b/britney.py
@@ -446,11 +446,8 @@ class Britney(object):
446 pass446 pass
447447
448 # integrity checks448 # integrity checks
449 if self.options.nuninst_cache and self.options.print_uninst: # pragma: no cover
450 self.logger.error("nuninst_cache and print_uninst are mutually exclusive!")
451 sys.exit(1)
452 # if the configuration file exists, then read it and set the additional options449 # if the configuration file exists, then read it and set the additional options
453 elif not os.path.isfile(self.options.config): # pragma: no cover450 if not os.path.isfile(self.options.config): # pragma: no cover
454 self.logger.error("Unable to read the configuration file (%s), exiting!", self.options.config)451 self.logger.error("Unable to read the configuration file (%s), exiting!", self.options.config)
455 sys.exit(1)452 sys.exit(1)
456453

Subscribers

People subscribed via source and target branches