[PATCH 1/1] vfs.IOError: don't pass self to super().__init__

0 views
Skip to first unread message

Rob Browning

unread,
Mar 14, 2026, 4:36:09 PM (10 days ago) Mar 14
to bup-...@googlegroups.com
Fix mistake in

0e392bc2a7b5164889be303ca15c43aa00ed1e65
Accommodate and enable pylint used-before-assignment

Signed-off-by: Rob Browning <r...@defaultvalue.org>
Tested-by: Rob Browning <r...@defaultvalue.org>
---

Pushed to main.

lib/bup/vfs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bup/vfs.py b/lib/bup/vfs.py
index 92423ba0..799e217a 100644
--- a/lib/bup/vfs.py
+++ b/lib/bup/vfs.py
@@ -114,7 +114,7 @@ from bup.metadata import Metadata, empty_metadata

class IOError(builtins.IOError):
def __init__(self, errno, message, terminus=None):
- super().__init__(self, errno, message)
+ super().__init__(errno, message)
self.terminus = terminus

_reg_perms = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
--
2.47.3

Reply all
Reply to author
Forward
0 new messages