summaryrefslogtreecommitdiff
path: root/example/testcmd.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2014-10-16 08:28:51 +0200
committerAnthon van der Neut <anthon@mnt.org>2014-10-16 08:28:51 +0200
commitcf4b0c51bf05870990f6295060b9c7622083df81 (patch)
treed9d02b0028e9b48b57b594304a6c19a3ba836135 /example/testcmd.py
parentd150cfed69a796bcbcb4a55a57193b8da8027750 (diff)
downloadruamel.std.argparse-cf4b0c51bf05870990f6295060b9c7622083df81.tar.gz
copyright and pep8 updates
Diffstat (limited to 'example/testcmd.py')
-rw-r--r--example/testcmd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/example/testcmd.py b/example/testcmd.py
index a319306..1618820 100644
--- a/example/testcmd.py
+++ b/example/testcmd.py
@@ -4,7 +4,8 @@ import sys
import os
from ruamel.std.argparse import ProgramBase, option, sub_parser, version, \
- SmartFormatter
+ SmartFormatter
+
class TestCmd(ProgramBase):
def __init__(self):
@@ -23,7 +24,7 @@ class TestCmd(ProgramBase):
def run(self):
if self._args.func:
- return self._args.func()
+ return self._args.func()
def parse_args(self, *args):
self._parse_args(*args)