Merge pull request #141 from CGenie/cgenie/syntax-fixes
Fix wrong variable in riaks.py
This commit is contained in:
commit
7b3fb97bfe
@ -73,7 +73,7 @@ def setup_riak():
|
|||||||
local_errors = validation.validate_resource(r)
|
local_errors = validation.validate_resource(r)
|
||||||
if local_errors:
|
if local_errors:
|
||||||
has_errors = True
|
has_errors = True
|
||||||
print 'ERROR: %s: %s' % (r.name, errors)
|
print 'ERROR: %s: %s' % (r.name, local_errors)
|
||||||
|
|
||||||
if has_errors:
|
if has_errors:
|
||||||
print "ERRORS"
|
print "ERRORS"
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
|
|
||||||
class SolarError(Exception):
|
class SolarError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user