git.samba.org
/
jelmer
/
calypso.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d746450
)
Also catch ValueError when attempting to parse rrulset.
author
Jelmer Vernooij
<jelmer@jelmer.uk>
Mon, 4 Apr 2016 00:28:55 +0000
(
00:28
+0000)
committer
Jelmer Vernooij
<jelmer@jelmer.uk>
Sun, 10 Apr 2016 11:43:46 +0000
(11:43 +0000)
calypso/xmlutils.py
patch
|
blob
|
history
diff --git
a/calypso/xmlutils.py
b/calypso/xmlutils.py
index f59d6081079c7f6322d72005647dc8ffd1637cd8..fc59fe01ce0d0f104875e6ef007386885bf2719d 100644
(file)
--- a/
calypso/xmlutils.py
+++ b/
calypso/xmlutils.py
@@
-267,7
+267,7
@@
def match_filter_element(vobject, fe):
elif fe.tag == _tag("C", "time-range"):
try:
rruleset = vobject.rruleset
- except
AttributeError
:
+ except
(AttributeError, ValueError)
:
return False
start = fe.get("start")
end = fe.get("end")