[Fedora-suds-list] wsdl.py class Definitions method open_imports - why base = self.url ?
Rod Montgomery
monty at starfief.com
Wed Oct 14 15:12:06 UTC 2009
Trying to understand the code, to work on Ticket #239: handling recursive imports in WSDL files
In file wsdl.py in class Definitions there is this method:
def open_imports(self):
""" Import the I{imported} WSDLs. """
for imp in self.imports:
base = self.url
imp.load(self)
What use is the second line from the bottom?
The variable base is a local variable of the method, is it not?
For that matter, I don't find any references to any variable named base anywhere in wsdl.py, other than on that line.
I see no reason not to delete this line. If there is such a reason, what am I missing?
More information about the fedora-suds-list
mailing list