parameters: (os_override=None)
return_statement: return DataSourceMatcher(tags)
docstring: Create a :class:`DataSourceMatcher` to match the current
          configuration.
  
          :param os_override: (os_name, os_codename) tuple to override
              OS detection
          :returns: :class:`DataSourceMatcher`
docstring_summary: Create a :class:`DataSourceMatcher` to match the current
          configuration.
docstring_tokens: Create a : class : DataSourceMatcher to match the current configuration .
function: def create_default(os_override=None):
          """
          Create a :class:`DataSourceMatcher` to match the current
          configuration.
  
          :param os_override: (os_name, os_codename) tuple to override
              OS detection
          :returns: :class:`DataSourceMatcher`
          """
          distro_name = rospkg.distro.current_distro_codename()
          if os_override is None:
              os_detect = rospkg.os_detect.OsDetect()
              os_name, os_version, os_codename = os_detect.detect_os()
          else:
              os_name, os_codename = os_override
          tags = [t for t in (distro_name, os_name, os_codename) if t]
          return DataSourceMatcher(tags)
function_tokens: def create_default ( os_override = None ) : distro_name = rospkg . distro . current_distro_codename ( ) if os_override is None : os_detect = rospkg . os_detect . OsDetect ( ) os_name , os_version , os_codename = os_detect . detect_os ( ) else : os_name , os_codename = os_override tags = [ t for t in ( distro_name , os_name , os_codename ) if t ] return DataSourceMatcher ( tags )