+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
import logging
import subprocess
toks[4]
for toks in [
line.split(' ')
- for line in subprocess.check_output("mount").split("\n")
+ for line in subprocess.check_output("mount").decode().split("\n")
]
if len(toks) > 4 and toks[2] == mnt
])