Revision: 1434
http://pywebsvcs.svn.sourceforge.net/pywebsvcs/?rev=1434&view=rev
Author: boverhof
Date: 2007-11-01 15:42:47 -0700 (Thu, 01 Nov 2007)
Log Message:
-----------
M XMLSchema.py
-- remove couple print statements :(
Modified Paths:
--------------
tags/ZSI-v2_1_0a1/wstools/XMLSchema.py
Modified: tags/ZSI-v2_1_0a1/wstools/XMLSchema.py
===================================================================
--- tags/ZSI-v2_1_0a1/wstools/XMLSchema.py 2007-11-01 22:29:14 UTC (rev 1433)
+++ tags/ZSI-v2_1_0a1/wstools/XMLSchema.py 2007-11-01 22:42:47 UTC (rev 1434)
@@ -1214,16 +1214,13 @@
except NoSchemaLocationWarning, ex:
# Dependency declaration, hopefully implementation
# is aware of this namespace (eg. SOAP,WSDL,?)
- print "IMPORT: ", import_ns
- print ex
del slocd[import_ns]
continue
except SchemaError, ex:
- #warnings.warn(\
- # '<import namespace="%s" schemaLocation=?>, %s'\
- # %(import_ns, 'failed to load schema instance')
- #)
- print ex
+ warnings.warn(\
+ '<import namespace="%s">, %s'\
+ %(import_ns, 'failed to load schema instance, resort to lazy eval when necessary')
+ )
del slocd[import_ns]
class _LazyEvalImport(str):
'''Lazy evaluation of import, replace entry in self.imports.'''
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|