From: Andy Bavier Date: Tue, 5 Jul 2011 21:31:35 +0000 (-0400) Subject: Disable RSpec validation for now X-Git-Tag: sfa-1.0-27~24^2~4 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=dbf02352e045271fdb44c734ee5be3c4bf5d3b69 Disable RSpec validation for now --- diff --git a/sfa/managers/aggregate_manager_eucalyptus.py b/sfa/managers/aggregate_manager_eucalyptus.py index 3954bf54..bb549537 100644 --- a/sfa/managers/aggregate_manager_eucalyptus.py +++ b/sfa/managers/aggregate_manager_eucalyptus.py @@ -509,7 +509,7 @@ def CreateSliver(api, xrn, creds, xml, users, call_id): schemaXML = ET.parse(EUCALYPTUS_RSPEC_SCHEMA) rspecValidator = ET.RelaxNG(schemaXML) rspecXML = ET.XML(xml) - if not rspecValidator(rspecXML): + if False and not rspecValidator(rspecXML): error = rspecValidator.error_log.last_error message = '%s (line %s)' % (error.message, error.line) # XXX: InvalidRSpec is new. Currently, I am not working with Trunk code.