imiptools/content.py | raw changeset files shortlog | client-editing-simplification |
1.1 --- a/imiptools/content.py Tue Dec 12 00:10:43 2017 +0100 1.2 +++ b/imiptools/content.py Fri Dec 15 23:23:09 2017 +0100 1.3 @@ -134,6 +134,12 @@ 1.4 1.5 return not not itip 1.6 1.7 +def is_cancel_itip(itip): 1.8 + 1.9 + "Return whether 'itip' is cancelling objects." 1.10 + 1.11 + return get_value(itip, "METHOD") == "CANCEL" 1.12 + 1.13 def handle_calendar_data(itip, handlers): 1.14 1.15 """