Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
parmigggiana authored Nov 6, 2024
1 parent d66fc1b commit f9d2e1e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pinolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,18 +416,6 @@ def standard_procedure(self):
if dialog[1]:
self.load_system(std=True, drives=drives)

@staticmethod
def get_wipe_disks_message(drives):
if len(drives) > 1:
message = f"Do you want to wipe these disks?"
for drive in drives:
message += f"\n{drive}"
elif len(drives) > 0:
message = f"Do you want to wipe {drives[0]}?"
else:
message = f"Do you want to wipe selected disks?"
return message

def erase(self, std=False, drives=None):
"""This function send to the server a queued_badblocks command.
If "std" is True it will skip the confirm dialog."""
Expand Down

0 comments on commit f9d2e1e

Please sign in to comment.