Updated ddrescue.py

This commit is contained in:
2Shirt 2018-12-27 19:50:51 -07:00
parent 4049272cbb
commit 10e978d4c5
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -476,7 +476,7 @@ def create_path_obj(path):
def double_confirm_clone(): def double_confirm_clone():
"""Display warning and get 2nd confirmation from user, returns bool.""" """Display warning and get 2nd confirmation, returns bool."""
print_standard('\nSAFETY CHECK') print_standard('\nSAFETY CHECK')
print_warning('All data will be DELETED from the ' print_warning('All data will be DELETED from the '
'destination device and partition(s) listed above.') 'destination device and partition(s) listed above.')
@ -1283,7 +1283,7 @@ def select_device(description='device', skip_device=None):
def setup_loopback_device(source_path): def setup_loopback_device(source_path):
"""Setup a loopback device for source_path, returns dev_path as str.""" """Setup loopback device for source_path, returns dev_path as str."""
cmd = ( cmd = (
'losetup', 'losetup',
'--find', '--find',
@ -1360,4 +1360,4 @@ def update_sidepane(state):
if __name__ == '__main__': if __name__ == '__main__':
print("This file is not meant to be called directly.") print("This file is not meant to be called directly.")
# vim: sts=4 sw=4 ts=4 # vim: sts=2 sw=2 ts=2