File data/vifm-media-osx changed (mode: 100755) (index 4727d8710..7aec783df) |
... |
... |
def list(args): |
41 |
41 |
"""List media""" |
"""List media""" |
42 |
42 |
try: |
try: |
43 |
43 |
# Use '-plist' to get XML output |
# Use '-plist' to get XML output |
44 |
|
output = subprocess.check_output( |
|
45 |
|
[DISKUTIL, "list", "-plist"]) |
|
|
44 |
|
output = subprocess.check_output([DISKUTIL, "list", "-plist"]) |
46 |
45 |
except subprocess.CalledProcessError: |
except subprocess.CalledProcessError: |
47 |
46 |
print("Failed to execute '{}'".format(DISKUTIL), file=sys.stderr) |
print("Failed to execute '{}'".format(DISKUTIL), file=sys.stderr) |
48 |
47 |
return(1) |
return(1) |