From 186803d9a97d7efb089acc470b98293b7e472db5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 23 Mar 2014 00:15:01 +0100 Subject: Fix formatting, some typos, and unused code, and add docstrings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - No idea why subclasses of ConversationTab were working before (info_header was overriden with None in __init__) - Or why the date parsing worked (“Exeception”) - Some more reformatting with pylint indications - Document each module in the tabs module --- src/args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/args.py') diff --git a/src/args.py b/src/args.py index 33d4f6e6..05281fa0 100644 --- a/src/args.py +++ b/src/args.py @@ -21,7 +21,7 @@ def parse_args(CONFIG_PATH=''): help="The file where debug will be written", metavar="DEBUG_FILE") parser.add_option("-v", "--version", dest="version", help=SUPPRESS, metavar="VERSION", default="0.8.3-dev") - (options, args) = parser.parse_args() + (options, _) = parser.parse_args() else: parser = ArgumentParser() parser.add_argument("-f", "--file", dest="filename", default=path.join(CONFIG_PATH, 'poezio.cfg'), -- cgit v1.2.3