def xmlrpc_scheduleDowntime(self, expr, start, stop, user, comment):
        try:
            start = int(start)
            stop = int(stop)
        except:
            raise xmlrpc.Fault(1, "start/stop must be integers")

        now = int(time.time())

        if start < now:
            start = now
        if stop < now:
            raise xmlrpc.Fault(1, "stop must be in the future")

        key = base64.urlsafe_b64encode(struct.pack('ib',
                now, random.randint(-127,127))).strip('=')
        comment += ' key:%s expr:%s' % (key, expr.strip())

        tokenizer = self._groupTokenizer(expr+')')
        group_set = self._groupParser(tokenizer)

        if not group_set:
            raise xmlrpc.Fault(1, "expression evaluated to an empty set")

        commands = set()
        for item in group_set:
            if item[0] == 'host':
                commands.add(('SCHEDULE_HOST_DOWNTIME', item[1],
                        start, stop, 1, 0, 0, user, comment))
            elif item[0] == 'service':
                commands.add(('SCHEDULE_SVC_DOWNTIME', item[1], item[2],
                        start, stop, 1, 0, 0, user, comment))
            else:
                assert 0

        log.info("Scheduling %s downtimes in Nagios" % len(commands))
        self._cmdobj.cmdlist(now, commands)

        return key
Populates a template variable with the static prefix,
dataset/ETHPy150Open marineam/nagcat/python/nagcat/nagios_api.py/NagiosXMLRPC.xmlrpc_scheduleDowntime--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/templatetags/static.py/get_static_prefix