def strip_dev(device_name):
 return (_dev.sub('', device_name) if device_name else device_name)

def strip_dev ( device_name ) : return ( _dev . sub ( '' , device_name ) if device_name else device_name )
remove leading /dev/ .