diff options
author | mathieui <mathieui@mathieui.net> | 2018-01-16 00:10:35 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-01-16 00:10:35 +0100 |
commit | 322e10d1bd8169126a744b0d28bb6d2481f4c5fb (patch) | |
tree | b5a2b96c98a86ec9a8bade8dcc3aecdb18f67dd6 | |
parent | f332c032172af3a4b547671ce38dc80c1cd1dba9 (diff) | |
download | poezio-322e10d1bd8169126a744b0d28bb6d2481f4c5fb.tar.gz poezio-322e10d1bd8169126a744b0d28bb6d2481f4c5fb.tar.bz2 poezio-322e10d1bd8169126a744b0d28bb6d2481f4c5fb.tar.xz poezio-322e10d1bd8169126a744b0d28bb6d2481f4c5fb.zip |
yapf -rip
-rw-r--r-- | poezio/plugin_manager.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/poezio/plugin_manager.py b/poezio/plugin_manager.py index c9e83148..cd13e6d8 100644 --- a/poezio/plugin_manager.py +++ b/poezio/plugin_manager.py @@ -288,9 +288,8 @@ class PluginManager(object): except OSError: pass plugins_files = [ - name[:-3] for name in names - if name.endswith('.py') and name != '__init__.py' - and not name.startswith('.') + name[:-3] for name in names if name.endswith('.py') + and name != '__init__.py' and not name.startswith('.') ] plugins_files.sort() position = the_input.get_argument_position(quoted=False) |