# HG changeset patch # User Jeff Hammel # Date 1512928192 28800 # Node ID 81d2f5c20ceb5df8851a9da97cf473dba333527f # Parent a3ee050ae568caf69f974bad9c67b4ff385fdc1a python 3 string compat diff -r a3ee050ae568 -r 81d2f5c20ceb python/mountusb.py --- a/python/mountusb.py Tue Oct 17 12:05:19 2017 -0700 +++ b/python/mountusb.py Sun Dec 10 09:49:52 2017 -0800 @@ -23,7 +23,6 @@ import subprocess import sys -string = (str, unicode) def main(args=sys.argv[1:]): @@ -63,7 +62,7 @@ device = os.path.join('/dev', partition) assert os.path.exists(device) - print "Device: {}".format(device) + print ("Device: {}".format(device)) command = ['sudo', 'mount', device, options.mount_point] print (' '.join(command))