From 90cb8d6841aeb357d818d9b523e7a064e2cdced4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Wed, 1 Jul 2015 10:39:48 +0200 Subject: [PATCH] mark XSD schema Import.locate method as private --- suds/xsd/sxbasic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suds/xsd/sxbasic.py b/suds/xsd/sxbasic.py index e5ebb9a..5b25711 100644 --- a/suds/xsd/sxbasic.py +++ b/suds/xsd/sxbasic.py @@ -564,7 +564,7 @@ class Import(SchemaObject): self.opened = True log.debug("%s, importing ns='%s', location='%s'", self.id, self.ns[1], self.location) - result = self.locate() + result = self.__locate() if result is None: if self.location is None: log.debug("imported schema (%s) not-found", self.ns[1]) @@ -573,7 +573,7 @@ class Import(SchemaObject): log.debug("imported:\n%s", result) return result - def locate(self): + def __locate(self): """Find the schema locally.""" if self.ns[1] != self.schema.tns[1]: return self.schema.locate(self.ns)