Remove unnecessary semicolons.

This commit is contained in:
Emmanuel Gil Peyrot 2017-02-07 20:56:47 +00:00
parent a7349dc603
commit 381a8f2be8
4 changed files with 5 additions and 5 deletions

View File

@ -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')

View File

@ -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)

View File

@ -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()

View File

@ -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