From 5f40c562ebb0754c3eabfb0b1dddaeb6d9e4e3a6 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 23 Nov 2020 14:09:46 -0500 Subject: [PATCH] Remove self arguments to IProgress, which mypy caught as improper. --- src/allmydata/interfaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index 537f6d655..95b1fdf63 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -749,7 +749,7 @@ class IProgress(Interface): "Current amount of progress (in percentage)" ) - def set_progress(self, value): + def set_progress(value): """ Sets the current amount of progress. @@ -757,7 +757,7 @@ class IProgress(Interface): set_progress_total. """ - def set_progress_total(self, value): + def set_progress_total(value): """ Sets the total amount of expected progress