Changed a word
This commit is contained in:
parent
85bb2d7290
commit
74c347ec6a
@ -165,7 +165,7 @@ class MikesBackup:
|
|||||||
elif arg == "--source-mountpoint":
|
elif arg == "--source-mountpoint":
|
||||||
valid_arg = True
|
valid_arg = True
|
||||||
self.__source_mountpoint_demands.append(sys.argv[a + 1])
|
self.__source_mountpoint_demands.append(sys.argv[a + 1])
|
||||||
self.log("Found demanded source mountpoint: " + sys.argv[a + 1])
|
self.log("Found required source mountpoint: " + sys.argv[a + 1])
|
||||||
a += 1
|
a += 1
|
||||||
elif arg == "--destination-dir":
|
elif arg == "--destination-dir":
|
||||||
valid_arg = True
|
valid_arg = True
|
||||||
@ -219,7 +219,7 @@ class MikesBackup:
|
|||||||
|
|
||||||
for mountpoint_path in self.__source_mountpoint_demands:
|
for mountpoint_path in self.__source_mountpoint_demands:
|
||||||
if not os.path.ismount(mountpoint_path):
|
if not os.path.ismount(mountpoint_path):
|
||||||
raise Exception("Demanded mountpoint is not mounted: " + str(mountpoint_path))
|
raise Exception("Required mountpoint is not mounted: " + str(mountpoint_path))
|
||||||
self.log("Verified mountpoint: " + mountpoint_path)
|
self.log("Verified mountpoint: " + mountpoint_path)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user