I think this is a better example
I _think_ that maybe if you have a tuple of 1, it gets "unwrapped" in
some way to be just a singleton - or at least I was encountering a
bug along those lines...
(('/mnt/tmp', 'mount /mnt/tmp'))[0] == '/'
^ this is where my big was occuring, I think
It also could've been an issue with the printing - no idea.
Changing from a tuple to a list seems to be better
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
mount_points = (
|
mount_points = [
|
||||||
# ('/mnt/external', 'mount /mnt/external')
|
# ('/mnt/external', 'mount /mnt/external'),
|
||||||
# ('/mnt/network_drive', 'cd /mnt; mount network_drive')
|
# ('/mnt/network_drive', 'cd /mnt; mount network_drive'),
|
||||||
)
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user