summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-07 14:05:11 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-07 14:05:11 +0100
commitb219c3dab7d985bfc80fb9a26789710455dadbc4 (patch)
tree19df3df357bc9e7e323d1e5675c63888865cf600 /poezio
parent27d2157c7402f1c384e378f2b26cd15584b82c3c (diff)
downloadpoezio-b219c3dab7d985bfc80fb9a26789710455dadbc4.tar.gz
poezio-b219c3dab7d985bfc80fb9a26789710455dadbc4.tar.bz2
poezio-b219c3dab7d985bfc80fb9a26789710455dadbc4.tar.xz
poezio-b219c3dab7d985bfc80fb9a26789710455dadbc4.zip
rostertab: Import shell_split globally.
Diffstat (limited to 'poezio')
-rw-r--r--poezio/tabs/rostertab.py8
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())