def splitPrefix(name):
    if isinstance(name, basestring) \
        and ':' in name:
            return tuple(name.split(':', 1))
    else:
        return (None, name)
>>> rule = Rule(params = "count:1;bysecond:1;byminute:1,2,4,5")
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/suds/sax/__init__.py/splitPrefix--crossover with--dataset/ETHPy150Open llazzaro/django-scheduler/schedule/models/rules.py/Rule.get_params