diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-11-18 21:31:12 (GMT) |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-11-18 21:31:12 (GMT) |
commit | 86716afa17c3ddc5148efedc29ed7e15af0ba524 (patch) | |
tree | f7c9184f4c8a48be6ff9d7d43be216c9bc8534fc | |
parent | 5164be885cd70516a0cfea30c28428bb42025b30 (diff) | |
download | python-sievelib-86716afa17c3ddc5148efedc29ed7e15af0ba524.tar.gz |
Make sure integers can be passed along as intended, as well
-rw-r--r-- | sievelib/factory.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sievelib/factory.py b/sievelib/factory.py index d75c871..f4e4bee 100644 --- a/sievelib/factory.py +++ b/sievelib/factory.py @@ -133,6 +133,8 @@ class FiltersSet(object): action.check_next_arg("tag", arg) elif isinstance(arg, list): action.check_next_arg("stringlist", arg) + elif isinstance(arg, int): + action.check_next_arg("number", arg) ifcontrol.addchild(action) return ifcontrol |