summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-05-06 01:39:22 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-05-06 01:39:22 +0200
commit96fdd5e7690cf93b08b077918b81910a90463e0a (patch)
tree31085852578578cd460ccafc6f22a191d2846802 /src
parentec40090cda5b2fd5bdcf56565e42ba26aa3b8e4e (diff)
downloadpoezio-96fdd5e7690cf93b08b077918b81910a90463e0a.tar.gz
poezio-96fdd5e7690cf93b08b077918b81910a90463e0a.tar.bz2
poezio-96fdd5e7690cf93b08b077918b81910a90463e0a.tar.xz
poezio-96fdd5e7690cf93b08b077918b81910a90463e0a.zip
Remove unreachable code.
Diffstat (limited to 'src')
-rw-r--r--src/core/completions.py4
-rw-r--r--src/tabs/basetabs.py1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/core/completions.py b/src/core/completions.py
index 68cbb24a..f17e916c 100644
--- a/src/core/completions.py
+++ b/src/core/completions.py
@@ -118,7 +118,6 @@ def completion_join(self, the_input):
return the_input.new_completion(['/%s' % self.own_nick], 1, quotify=True)
else:
return the_input.new_completion(relevant_rooms, 1, quotify=True)
- return True
def completion_version(self, the_input):
@@ -213,9 +212,6 @@ def completion_bind(self, the_input):
return the_input.new_completion(args, n, '', quotify=False)
- return the_input
-
-
def completion_message(self, the_input):
"""Completion for /message"""
n = the_input.get_argument_position(quoted=True)
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py
index 184a9243..1938cb65 100644
--- a/src/tabs/basetabs.py
+++ b/src/tabs/basetabs.py
@@ -254,7 +254,6 @@ class Tab(object):
return False # There's no completion function
else:
return command[2](the_input)
- return True
return False
def execute_command(self, provided_text):