(orig_script)
return options.strip()
Extract any options from the first line of the script.
Extract any options from the first line of the script.
Extract any options from the first line of the script .
def _extract_options(orig_script):
        """
        Extract any options from the first line of the script.
        """
        first = (orig_script + '\n').splitlines()[0]
        match = _first_line_re().match(first)
        options = match.group(1) or '' if match else ''
        return options.strip()
def _extract_options ( orig_script ) : first = ( orig_script + '\n' ) . splitlines ( ) [ 0 ] match = _first_line_re ( ) . match ( first ) options = match . group ( 1 ) or '' if match else '' return options . strip ( )