summaryrefslogtreecommitdiff
path: root/plugins/close_all.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-08-15 13:13:17 +0200
committermathieui <mathieui@mathieui.net>2018-08-15 13:13:17 +0200
commit6e13b8b73572f9c0ac9b5c683b98a475afbeab38 (patch)
tree7dae86588339a8cf144b2d98c9280f28646341a9 /plugins/close_all.py
parentd1b624753bb5371cf287cc9d86bb685593a99315 (diff)
downloadpoezio-6e13b8b73572f9c0ac9b5c683b98a475afbeab38.tar.gz
poezio-6e13b8b73572f9c0ac9b5c683b98a475afbeab38.tar.bz2
poezio-6e13b8b73572f9c0ac9b5c683b98a475afbeab38.tar.xz
poezio-6e13b8b73572f9c0ac9b5c683b98a475afbeab38.zip
yapf -rip on plugins
Diffstat (limited to 'plugins/close_all.py')
-rw-r--r--plugins/close_all.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/close_all.py b/plugins/close_all.py
index faf1d0ea..c1d1ec8b 100644
--- a/plugins/close_all.py
+++ b/plugins/close_all.py
@@ -18,8 +18,10 @@ from poezio.decorators import command_args_parser
class Plugin(BasePlugin):
def init(self):
- self.api.add_command('closeall', self.command_closeall,
- help='Close all non-chatroom tabs.')
+ self.api.add_command(
+ 'closeall',
+ self.command_closeall,
+ help='Close all non-chatroom tabs.')
@command_args_parser.ignored
def command_closeall(self):
@@ -40,5 +42,3 @@ class Plugin(BasePlugin):
self.core.close_tab(tab)
self.api.information('%s tabs closed.' % length, 'Info')
self.core.refresh_window()
-
-