diff --git a/samples/preserve-namespaces/preserve-namespaces.py b/samples/preserve-namespaces/preserve-namespaces.py index 13642a1..0ecd424 100644 --- a/samples/preserve-namespaces/preserve-namespaces.py +++ b/samples/preserve-namespaces/preserve-namespaces.py @@ -16,7 +16,7 @@ def assertContainsUserNamespace(filename): lineCount += 1 found = doc_beginning_excerpt.rfind("xmlns:user=") print(doc_beginning_excerpt[found:found+10]) - assert(found >= 0) + assert (found >= 0) ############################################################ diff --git a/tableaudocumentapi/field.py b/tableaudocumentapi/field.py index 54d2446..0da6d84 100644 --- a/tableaudocumentapi/field.py +++ b/tableaudocumentapi/field.py @@ -70,7 +70,6 @@ def _initialize_from_metadata_xml(self, xmldata): self._apply_attribute(xmldata, field_name, lambda x: getattr(xmldata.find('.//{}'.format(metadata_name)), 'text', None), read_name=metadata_name) - print(metadata_name, field_name) self.apply_metadata(xmldata) @classmethod