From 97c1fcc5ec071190c8f343488f5be9c1faf8d66f Mon Sep 17 00:00:00 2001 From: hugovk Date: Tue, 9 Feb 2016 11:24:03 +0200 Subject: [PATCH] pep8 fixes for #153 --- pylast/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pylast/__init__.py b/pylast/__init__.py index 3f310d0..ec8f54e 100644 --- a/pylast/__init__.py +++ b/pylast/__init__.py @@ -1136,13 +1136,15 @@ class _Request(object): else: response = self._download_response() - return minidom.parseString(_string(response).replace("opensearch:", "")) + return minidom.parseString(_string(response).replace( + "opensearch:", "")) def _check_response_for_errors(self, response): """Checks the response for errors and raises one if any exists.""" try: - doc = minidom.parseString(_string(response).replace("opensearch:", "")) + doc = minidom.parseString(_string(response).replace( + "opensearch:", "")) except Exception as e: raise MalformedResponseError(self.network, e)