def split_path_mapping(volume_path):
 (drive, volume_config) = splitdrive(volume_path)
 if (u':' in volume_config):
  (host, container) = volume_config.split(u':', 1)
  return (container, (drive + host))
 else:
  return (volume_path, None)

def split_path_mapping ( volume_path ) : ( drive , volume_config ) = splitdrive ( volume_path ) if ( u':' in volume_config ) : ( host , container ) = volume_config . split ( u':' , 1 ) return ( container , ( drive + host ) ) else : return ( volume_path , None )
ascertain if the volume_path contains a host path as well as a container path .