'Converts a dynamic handler object to Yaml.'

def TranslateHandler(self, the_handler):

    if (the_handler.GetProperty('type') != 'dynamic'):
        return []
    statements = [('-    url:    %s' % the_handler.Regexify()), '        script:    unused']
    return (statements + self.TranslateAdditionalOptions(the_handler))
