diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-07 14:05:11 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-07 14:05:11 +0100 |
commit | b219c3dab7d985bfc80fb9a26789710455dadbc4 (patch) | |
tree | 19df3df357bc9e7e323d1e5675c63888865cf600 | |
parent | 27d2157c7402f1c384e378f2b26cd15584b82c3c (diff) | |
download | poezio-b219c3dab7d985bfc80fb9a26789710455dadbc4.tar.gz poezio-b219c3dab7d985bfc80fb9a26789710455dadbc4.tar.bz2 poezio-b219c3dab7d985bfc80fb9a26789710455dadbc4.tar.xz poezio-b219c3dab7d985bfc80fb9a26789710455dadbc4.zip |
rostertab: Import shell_split globally.
-rw-r--r-- | poezio/tabs/rostertab.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py index 8edc88e0..00992e3c 100644 --- a/poezio/tabs/rostertab.py +++ b/poezio/tabs/rostertab.py @@ -18,7 +18,7 @@ from functools import partial from poezio import common from poezio import windows -from poezio.common import safeJID +from poezio.common import safeJID, shell_split from poezio.config import config from poezio.contact import Contact, Resource from poezio.decorators import refresh_wrapper @@ -536,7 +536,7 @@ class RosterInfoTab(Tab): for a command) """ text = the_input.get_text() - args = common.shell_split(text) + args = shell_split(text) n = the_input.get_argument_position() if n == complete_number: if args[n-1] == '' or len(args) < n+1: @@ -900,7 +900,7 @@ class RosterInfoTab(Tab): return False def completion_groupmove(self, the_input): - args = common.shell_split(the_input.text) + args = shell_split(the_input.text) n = the_input.get_argument_position() if n == 1: jids = sorted(jid for jid in roster.jids()) @@ -919,7 +919,7 @@ class RosterInfoTab(Tab): return False def completion_groupremove(self, the_input): - args = common.shell_split(the_input.text) + args = shell_split(the_input.text) n = the_input.get_argument_position() if n == 1: jids = sorted(jid for jid in roster.jids()) |