From 0bb67982b035a7f158a1999ed86926a71ebd3511 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 21 Oct 2016 00:20:41 +0200 Subject: pyflake fixes unused variables, imports, name shadowing --- poezio/core/commands.py | 1 - poezio/core/core.py | 2 +- poezio/core/handlers.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'poezio/core') diff --git a/poezio/core/commands.py b/poezio/core/commands.py index d44a401e..c4fb6353 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -7,7 +7,6 @@ import logging log = logging.getLogger(__name__) import os -from datetime import datetime from xml.etree import cElementTree as ET from slixmpp.xmlstream.stanzabase import StanzaBase diff --git a/poezio/core/core.py b/poezio/core/core.py index f9d30cfe..f2341ba3 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -1136,7 +1136,7 @@ class Core(object): """ def read_next_digit(digit): try: - nb = int(digit) + int(digit) except ValueError: # If it is not a number, we do nothing. If it was the first # one, we do not wait for a second one by re-setting the diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 62fc0731..e79e4232 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -23,7 +23,6 @@ from poezio import common from poezio import fixes from poezio import pep from poezio import tabs -from poezio import windows from poezio import xhtml from poezio import multiuserchat as muc from poezio.common import safeJID -- cgit v1.2.3