]> git.phdru.name Git - bookmarks_db.git/commitdiff
Style(Robots/bkmk_rurllib_py3): Remove unused variable
authorOleg Broytman <phd@phdru.name>
Sun, 3 Mar 2024 09:47:40 +0000 (12:47 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 3 Mar 2024 09:47:40 +0000 (12:47 +0300)
Robots/bkmk_rurllib_py3.py

index 73f9b77ca3ef19f0106cc3bd3dc3e16902b5a818..ae88b1956f54e5f894f9ae2c584258408e5cfa9b 100644 (file)
@@ -121,7 +121,7 @@ class robot_urllib_py3(robot_base):
             infile = open(fname, 'rb')
             try:
                 content = infile.read()
-            except Exception as e:
+            except Exception:
                 content = None
             finally:
                 infile.close()