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