From f7aa04fa28a877b35ce38e1fc0cf3c035d2ea737 Mon Sep 17 00:00:00 2001 From: Przemyslaw Kaminski Date: Thu, 10 Sep 2015 12:36:32 +0200 Subject: [PATCH] Fix wrong variable in riaks.py --- examples/riak/riaks.py | 2 +- solar/solar/errors.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/riak/riaks.py b/examples/riak/riaks.py index 28606f58..3b4c7c73 100644 --- a/examples/riak/riaks.py +++ b/examples/riak/riaks.py @@ -73,7 +73,7 @@ def setup_riak(): local_errors = validation.validate_resource(r) if local_errors: has_errors = True - print 'ERROR: %s: %s' % (r.name, errors) + print 'ERROR: %s: %s' % (r.name, local_errors) if has_errors: print "ERRORS" diff --git a/solar/solar/errors.py b/solar/solar/errors.py index 074ecd29..09d102fb 100644 --- a/solar/solar/errors.py +++ b/solar/solar/errors.py @@ -12,6 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. + class SolarError(Exception): pass