From dbf02352e045271fdb44c734ee5be3c4bf5d3b69 Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Tue, 5 Jul 2011 17:31:35 -0400 Subject: [PATCH] Disable RSpec validation for now --- sfa/managers/aggregate_manager_eucalyptus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.43.0