'Translates SimpleHandler to static handler yaml statements.'

def TranslateHandler(self, h):

    root = self.app_engine_web_xml.public_root
    regex = h.Regexify()
    split = (1 if regex.startswith('/') else 0)
    statements = [('-    url:    /(%s)' % regex[split:]), ('        static_files:    %s\\1' % root), '        upload:    __NOT_USED__', '        require_matching_file:    True']
    return ((statements + self.TranslateAdditionalOptions(h)) + self.TranslateAdditionalStaticOptions(h))
