sdpython / pyrsslocal

@@ -60,7 +60,7 @@
Loading
60 60
61 61
    # this queue will keep some pathes which should be stored in session
62 62
    # information or in cookies
63 -
    queue_pathes = list()
63 +
    queue_pathes = []
64 64
    javascript_path = get_path_javascript()
65 65
66 66
    def add_path(self, p):
@@ -438,7 +438,7 @@
Loading
438 438
                        try:
439 439
                            with open(found, ft, encoding="utf8") as f:  # pylint: disable=W1501
440 440
                                content = f.read()
441 -
                        except UnicodeDecodeError as e:
441 +
                        except UnicodeDecodeError:
442 442
                            self.LOG("file is not utf8", found)
443 443
                            with open(found, ft) as f:  # pylint: disable=W1501
444 444
                                content = f.read()

@@ -39,7 +39,7 @@
Loading
39 39
        fLOG("[get_url_content_timeout] unable to retrieve content from ",
40 40
             url, "exc:", str(error))
41 41
        return None
42 -
    except socket.timeout as e:  # pragma: no cover
42 +
    except socket.timeout:  # pragma: no cover
43 43
        fLOG(
44 44
            "[get_url_content_timeout] unable to retrieve content from ",
45 45
            url,

@@ -248,10 +248,10 @@
Loading
248 248
249 249
            try:
250 250
                d = feedparser.parse(cont)
251 -
            except RuntimeError as e:
251 +
            except RuntimeError:
252 252
                if fLOG:
253 -
                    fLOG(
254 -
                        "[enumerate_post] cannot enumerate post in '{}'.".format(path))
253 +
                    fLOG("[enumerate_post] cannot enumerate post in "
254 +
                         "'{}'.".format(path))
255 255
                d = None
256 256
        else:
257 257
            d = None
Files Coverage
src/pyrsslocal 59.33%
Project Totals (26 files) 59.33%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading