'Gets priority pairs from env.'

def _priority_from_env(self, val):

    for part in val.split(':'):
        try:
            (rule, priority) = part.split('=')
            (yield (rule, int(priority)))
        except ValueError:
            continue
