summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-08-02 21:02:18 +0100
committerLars Wirzenius <liw@liw.fi>2011-08-02 21:02:18 +0100
commit4fc53b17814bfe1e7ecd067a5c67e6fa687f9890 (patch)
tree627868287e3ab91364f618b9a5d9408e7ecb9654
parent38a3b9fcaaab32bfc4dc5f9e02f62810024599d2 (diff)
downloadunperish-4fc53b17814bfe1e7ecd067a5c67e6fa687f9890.tar.gz
Adapt to cliapp _subcommand name change.
That's what I get for using private APIs.
-rwxr-xr-xunperish4
1 files changed, 2 insertions, 2 deletions
diff --git a/unperish b/unperish
index eb32618..1148585 100755
--- a/unperish
+++ b/unperish
@@ -93,8 +93,8 @@ class Unperish(cliapp.Application):
except IOError:
pass
- if subcommand in self._subcommands:
- method = self._subcommands[subcommand]
+ if subcommand in self.subcommands:
+ method = self.subcommands[subcommand]
if self.settings['verbose']:
self.output.write('command: %s\n' % subcommand)
if not self.settings['no-act']: