Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2008-10-20 19:20:51 +0400
committerYann Leboulanger <asterix@lagaule.org>2008-10-20 19:20:51 +0400
commit464f62d58056a639852fdce56bae336b9a63a8cc (patch)
tree5e0a7862fd5d982ef3e9f136b938f9b459960053 /src
parent98255a067104fd202ab6e4eab135a6a11179bef0 (diff)
[thorstenp] remove statements without effect
Diffstat (limited to 'src')
-rw-r--r--src/common/socks5.py3
-rw-r--r--src/common/xmpp/session.py1
-rw-r--r--src/ipython_view.py2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/common/socks5.py b/src/common/socks5.py
index 55cdc4369..0ba13de02 100644
--- a/src/common/socks5.py
+++ b/src/common/socks5.py
@@ -485,8 +485,7 @@ class Socks5:
return -1
def get_file_contents(self, timeout):
- ''' read file contents from socket and write them to file ''', \
- self.file_props['type'], self.file_props['sid']
+ ''' read file contents from socket and write them to file '''
if self.file_props is None or \
('file-name' in self.file_props) is False:
self.file_props['error'] = -2
diff --git a/src/common/xmpp/session.py b/src/common/xmpp/session.py
index 1850e2499..010dccba9 100644
--- a/src/common/xmpp/session.py
+++ b/src/common/xmpp/session.py
@@ -249,7 +249,6 @@ class Session:
features=Node('stream:features')
if NS_TLS in self.waiting_features:
features.T.starttls.setNamespace(NS_TLS)
- features.T.starttls.T.required
if NS_SASL in self.waiting_features:
features.T.mechanisms.setNamespace(NS_SASL)
for mec in self._owner.SASL.mechanisms:
diff --git a/src/ipython_view.py b/src/ipython_view.py
index 8ee34b294..caf4d5f54 100644
--- a/src/ipython_view.py
+++ b/src/ipython_view.py
@@ -214,7 +214,7 @@ class IterableIPShell:
possibilities = self.IP.complete(split_line[-1])
try:
- __builtins__.all
+ all(())
except AttributeError:
def all(iterable):
for element in iterable: