diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-02 21:02:18 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-02 21:02:18 +0100 |
commit | 4fc53b17814bfe1e7ecd067a5c67e6fa687f9890 (patch) | |
tree | 627868287e3ab91364f618b9a5d9408e7ecb9654 | |
parent | 38a3b9fcaaab32bfc4dc5f9e02f62810024599d2 (diff) | |
download | unperish-4fc53b17814bfe1e7ecd067a5c67e6fa687f9890.tar.gz |
Adapt to cliapp _subcommand name change.
That's what I get for using private APIs.
-rwxr-xr-x | unperish | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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']: |