Browse Source

Fix a few docstring typos (#80).

Dan Helfman 6 months ago
parent
commit
cd654cbb57
1 changed files with 2 additions and 2 deletions
  1. 2 2
      borgmatic/hooks/data_source/lvm.py

+ 2 - 2
borgmatic/hooks/data_source/lvm.py

@@ -30,7 +30,7 @@ def get_logical_volumes(lsblk_command, source_directories=None):
     If source directories is None, include all logical volume mounts points, not just those in
     If source directories is None, include all logical volume mounts points, not just those in
     source directories.
     source directories.
 
 
-    Return the result as a sequence of (device name, device path, mount point) pairs.
+    Return the result as a sequence of (device name, device path, mount point) tuples.
     '''
     '''
     try:
     try:
         devices_info = json.loads(
         devices_info = json.loads(
@@ -193,7 +193,7 @@ def unmount_snapshot(umount_command, snapshot_mount_path):  # pragma: no cover
 
 
 def delete_snapshot(lvremove_command, snapshot_device_path):  # pragma: no cover
 def delete_snapshot(lvremove_command, snapshot_device_path):  # pragma: no cover
     '''
     '''
-    Given an lvremote command to run and the device path of a snapshot, remove it it.
+    Given an lvremove command to run and the device path of a snapshot, remove it it.
     '''
     '''
     borgmatic.execute.execute_command(
     borgmatic.execute.execute_command(
         (
         (