Skip to content

Commit

Permalink
storage: Drop unused session arguments from write_raw/gz
Browse files Browse the repository at this point in the history
This functions are not directly called from remote, like all others in
this module.

Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
jan-kiszka authored and chombourger committed Apr 30, 2024
1 parent af3e770 commit 9fd166c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mtda/storage/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def worker(self):
self.mtda.debug(3, f"storage.writer.worker(): {str(result)}")
return result

def write_raw(self, data, session=None):
def write_raw(self, data):
self.mtda.debug(3, "storage.writer.write_raw()")

result = None
Expand All @@ -152,7 +152,7 @@ def write_raw(self, data, session=None):
self.mtda.debug(3, f"storage.writer.write_raw(): {str(result)}")
return result

def write_gz(self, data, session=None):
def write_gz(self, data):
self.mtda.debug(3, "storage.writer.write_gz()")

# Create a zlib decompressor when called for the first time
Expand Down

0 comments on commit 9fd166c

Please sign in to comment.