From: Konstantin Stepanov Date: Sun, 17 Oct 2010 20:40:19 +0000 (+0300) Subject: Message type field of * means all 4 field types X-Git-Tag: v1.0.0~4 X-Git-Url: https://vcs.maemo.org/git/?p=dbuscron;a=commitdiff_plain;h=cae5cf923f5076e31f9de843cd5012f798462baf Message type field of * means all 4 field types --- diff --git a/dbuscron/parser.py b/dbuscron/parser.py index 6dcd6cb..5f8f97b 100644 --- a/dbuscron/parser.py +++ b/dbuscron/parser.py @@ -57,6 +57,9 @@ class CrontabParser(object): rule = [(None,), (None,), (None,), (None,), (None,), (None,), (None,), (None,)] + if parts[1] = '*': + parts[1] = 'signal,method_call,method_return,error' + for p in range(1, 8): if parts[p] != '*': rule[p] = parts[p].split(',')