summaryrefslogtreecommitdiff
path: root/example2.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-04-18 11:18:54 +0300
committerLars Wirzenius <liw@liw.fi>2015-04-18 15:41:49 +0300
commita09e1064f58673591093df7f3b709a775c06b866 (patch)
tree173e13e3a3293e4a1871bb1fa2bb1ad3cd07d938 /example2.py
parentd3b79bed48895150fb7c33f577716a900fda3833 (diff)
downloadcliapp-a09e1064f58673591093df7f3b709a775c06b866.tar.gz
Add running of pylint in 'make check' and fix things
Diffstat (limited to 'example2.py')
-rw-r--r--example2.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/example2.py b/example2.py
index 1f061b9..972e880 100644
--- a/example2.py
+++ b/example2.py
@@ -23,7 +23,6 @@ Greet or insult people.
import cliapp
-import logging
class ExampleApp(cliapp.Application):
@@ -54,14 +53,17 @@ class ExampleApp(cliapp.Application):
self.output.write('you suck, %s\n' % arg)
-app = ExampleApp(version='0.1.2', description='''
+app = ExampleApp(
+ version='0.1.2',
+ description='''
Greet the user.
Or possibly insult them. User's choice.
''',
-epilog='''
+ epilog='''
This is the epilog.
I hope you like it.
''')
+
app.run()