Mailinglist Archive: opensuse-buildservice (272 mails)

< Previous Next >
[opensuse-buildservice] [PATCH] commandline: improve ENOTDIR error message for validators
  • From: Brandon Philips <brandon@xxxxxxxx>
  • Date: Thu, 18 Nov 2010 13:47:01 -0800
  • Message-id: <20101118214701.GD3375@xxxxxxxxxxxxxxxxxxxxx>
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 = ''
--
1.7.3.1

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >