Mailinglist Archive: opensuse-buildservice (272 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] commandline: improve ENOTDIR error message for validators
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 19 Nov 2010 08:24:42 +0100
  • Message-id: <201011190824.42307.adrian@xxxxxxx>

Thanks, patch got imported.

Am Donnerstag, 18. November 2010, 22:47:01 schrieb Brandon Philips:
WARNING: source_validator_directory configured but it does not exist:
/usr/lib/osc/source_validators
Install osc-source_validator to fix.

Signed-off-by: Brandon Philips <bphilips@xxxxxxx>
---
osc/commandline.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/osc/commandline.py b/osc/commandline.py
index 0fd14b7..2683ae7 100644
--- a/osc/commandline.py
+++ b/osc/commandline.py
@@ -3032,7 +3032,9 @@ Please submit there instead, or use --nodevelproject to
force direct submission.
if opts.skip_validation:
validators = None
elif not os.path.exists(validators):
- print "WARNING: validator directory", validators, "configured,
but not existing (please install osc-source_validator). Skipping ..."
+ print "WARNING: source_validator_directory configured but it "\
+ "does not exist:\n\t %s \n"\
+ "\t Install osc-source_validator to fix." % validators
validators = None

msg = ''



--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References