def prepend_dev(device_name):
 return (device_name and ('/dev/' + strip_dev(device_name)))

def prepend_dev ( device_name ) : return ( device_name and ( '/dev/' + strip_dev ( device_name ) ) )
make sure there is a leading /dev/ .