# built documents.
#
# The short X.Y version.
-version = '0.9.6'
+version = '0.9.7'
# The full version, including alpha/beta/rc tags.
-release = '0.9.6'
+release = '0.9.7'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
print_list(target_object, noti=True)
+def nothing(e):
+ """
+ Do nothing for other event
+ """
+ return
+
+
def print_event(e):
"""
Notify an event
'list_user_subscribed': notify_list_user_subscribed,
'list_user_unsubscribed': notify_list_user_unsubscribed,
}
- event_dict[e['event']](e)
+ event_dict.get(e['event'],nothing)(e)
def show_profile(u):