projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
841260f
)
lambda *args: None
author
vunhat_minh
<vunhat_minh@dwango.co.jp>
Fri, 5 Sep 2014 03:55:42 +0000
(12:55 +0900)
committer
vunhat_minh
<vunhat_minh@dwango.co.jp>
Fri, 5 Sep 2014 03:55:42 +0000
(12:55 +0900)
rainbowstream/draw.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/draw.py
b/rainbowstream/draw.py
index 202b629a31220b33aa61e6f891222f63847e4d7b..3a63f4b8a8185ffd6371e1594d2144722ac20c4d 100644
(file)
--- a/
rainbowstream/draw.py
+++ b/
rainbowstream/draw.py
@@
-851,13
+851,6
@@
def notify_list_user_unsubscribed(e):
print_list(target_object, noti=True)
-def nothing(e):
- """
- Do nothing for other event
- """
- return
-
-
def print_event(e):
"""
Notify an event
@@
-872,7
+865,7
@@
def print_event(e):
'list_user_subscribed': notify_list_user_subscribed,
'list_user_unsubscribed': notify_list_user_unsubscribed,
}
- event_dict.get(e['event'],
nothing
)(e)
+ event_dict.get(e['event'],
lambda *args: None
)(e)
def show_profile(u):