Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _read_phonebook(self, url):
"""
Read the content of the phonebook with the given `url`. This
method sets the phone book instance attribute and has no return
value.
"""
root = get_xml_root(url, session=self.fc.session)
self.phonebook = Phonebook()
process_node(self, root)
def __init__(self, root):
self.timestamp = None
self.calls = list()
super().__init__(self.calls)
process_node(self, root)