Mercurial > getan
changeset 317:dc7c1a894e21
Fix codingstyle for pep8
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 11 Oct 2013 14:08:44 +0200 |
parents | b9fcd8771c85 |
children | 27fc5f43a69b |
files | getan/main.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/main.py Fri Oct 11 12:18:13 2013 +0200 +++ b/getan/main.py Fri Oct 11 14:08:44 2013 +0200 @@ -17,7 +17,7 @@ from optparse import OptionParser import getan -import getan.config as config +import getan.config as config from getan.backend import DEFAULT_DATABASE, Backend from getan.view import ProjectList, EntryList @@ -25,10 +25,11 @@ logger = logging.getLogger() + def main(): usage = "usage: %prog [options] [databasefile (default: " + \ - DEFAULT_DATABASE + ")]" + DEFAULT_DATABASE + ")]" version = "getan version %s" % getan.__version__ parser = OptionParser(usage=usage, version=version) parser.add_option("-d", "--debug", action="store_true", dest="debug",