diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-21 17:18:13 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-21 17:18:13 +0000 |
commit | 41e8ff90200bca1c60beb22c110a6278b0b49b00 (patch) | |
tree | 3b8dfc0b93a5fcc1f5d6c29fa60fc9d08585e6f8 /alot/init.py | |
parent | fdd9a551e4812649229346d74985939569a880e1 (diff) |
pep8/pyflakes fixes
Diffstat (limited to 'alot/init.py')
-rwxr-xr-x | alot/init.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/alot/init.py b/alot/init.py index d73077e9..d88e7346 100755 --- a/alot/init.py +++ b/alot/init.py @@ -1,6 +1,5 @@ #!/usr/bin/env python import sys -import argparse import logging import os @@ -32,6 +31,7 @@ class SubcommandOptions(usage.Options): print alot.__version__ sys.exit(0) + class ComposeOptions(SubcommandOptions): optParameters = [ ['sender', '', None, 'From line'], @@ -47,9 +47,8 @@ class ComposeOptions(SubcommandOptions): self['to'] = ' '.join(args) - class Options(usage.Options): - optFlags = [ ["read-only", "r", 'open db in read only mode'], ] + optFlags = [["read-only", "r", 'open db in read only mode'], ] def colourint(val): val = int(val) |