diff --git a/src/common/jingle_xtls.py b/src/common/jingle_xtls.py index 25e182291..abc2c8170 100644 --- a/src/common/jingle_xtls.py +++ b/src/common/jingle_xtls.py @@ -152,7 +152,7 @@ def send_cert(con, jid_from, sid): certpath = os.path.join(gajim.MY_CERT_DIR, SELF_SIGNED_CERTIFICATE) + \ '.cert' certificate = read_cert(certpath) - iq = nbxmpp.Iq('result', to=jid_from); + iq = nbxmpp.Iq('result', to=jid_from) iq.setAttr('id', sid) pubkey = iq.setTag('pubkeys') diff --git a/src/history_window.py b/src/history_window.py index de3090ed7..659c73f32 100644 --- a/src/history_window.py +++ b/src/history_window.py @@ -663,5 +663,5 @@ class HistoryWindow: gajim.config.set('history_window_x-position', x) gajim.config.set('history_window_y-position', y) - gajim.config.set('history_window_width', width); - gajim.config.set('history_window_height', height); + gajim.config.set('history_window_width', width) + gajim.config.set('history_window_height', height) diff --git a/src/ipython_view.py b/src/ipython_view.py index 12218e1f9..6d9902ff1 100644 --- a/src/ipython_view.py +++ b/src/ipython_view.py @@ -166,7 +166,7 @@ class IterableIPShell: sys.stdout = IPython.utils.io.stdout orig_stdin = sys.stdin - sys.stdin = IPython.utils.io.stdin; + sys.stdin = IPython.utils.io.stdin self.prompt = self.generatePrompt(self.iter_more) self.IP.hooks.pre_prompt_hook() diff --git a/src/logind_listener.py b/src/logind_listener.py index 8b1285ce0..b447fdb1a 100644 --- a/src/logind_listener.py +++ b/src/logind_listener.py @@ -57,7 +57,7 @@ def on_suspend(active): # close the file descriptor and let the computer suspend if fd >= 0: os.close(fd) - fd = -1; + fd = -1 else: # something is wrong, the system is suspending but we don't have # a lock file