[Getan-commits] [PATCH 22 of 32] Fix codingstyle for pep8
Wald Commits
scm-commit at wald.intevation.org
Fri Oct 11 14:34:06 CEST 2013
# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1381493324 -7200
# Node ID dc7c1a894e21312c08b220b78804165ec3e945d8
# Parent b9fcd8771c8583309221be328a64907b04c587e2
Fix codingstyle for pep8
diff -r b9fcd8771c85 -r dc7c1a894e21 getan/main.py
--- 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",
More information about the Getan-commits
mailing list