diff options
| author | jvoisin | 2018-07-02 00:22:05 +0200 |
|---|---|---|
| committer | jvoisin | 2018-07-02 00:22:05 +0200 |
| commit | 893f58554ab963f8abd4a08222a311014322fff1 (patch) | |
| tree | fe4ec24bc5089a6701ab985e1ad3f6a1151ea9a4 /libmat2/torrent.py | |
| parent | 11008f8fd436f0b8b00bc600a2cd7a77b55c7494 (diff) | |
Improve a bit the formatting of the code thanks to pyflakes3
Diffstat (limited to 'libmat2/torrent.py')
| -rw-r--r-- | libmat2/torrent.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/torrent.py b/libmat2/torrent.py index b598065..ad49f47 100644 --- a/libmat2/torrent.py +++ b/libmat2/torrent.py | |||
| @@ -125,7 +125,7 @@ class _BencodeHandler(object): | |||
| 125 | try: | 125 | try: |
| 126 | r, l = self.__decode_func[s[0]](s) | 126 | r, l = self.__decode_func[s[0]](s) |
| 127 | except (IndexError, KeyError, ValueError) as e: | 127 | except (IndexError, KeyError, ValueError) as e: |
| 128 | logging.debug("Not a valid bencoded string: %s" % e) | 128 | logging.debug("Not a valid bencoded string: %s", e) |
| 129 | return None | 129 | return None |
| 130 | if l != b'': | 130 | if l != b'': |
| 131 | logging.debug("Invalid bencoded value (data after valid prefix)") | 131 | logging.debug("Invalid bencoded value (data after valid prefix)") |
