Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace obsolete string.join with ''.join #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thomdask
Copy link

@thomdask thomdask commented Nov 22, 2024

sting.join is not a thing since a long time. Replace it with "".join otherwise this exception is raised

File "/some/path/lib/python3.11/site-packages/SOAPpy/Parser.py", line 1095, in _parseSOAP
parser.parse(inpsrc)
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.11/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 468, in EndElement
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 381, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/some/path/lib/python3.11/site-packages/SOAPpy/Parser.py", line 232, in endElementNS
string.join(self._data, "").strip() != '':
AttributeError: module 'string' has no attribute 'join'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant