From 4fc53b17814bfe1e7ecd067a5c67e6fa687f9890 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 2 Aug 2011 21:02:18 +0100 Subject: Adapt to cliapp _subcommand name change. That's what I get for using private APIs. --- unperish | 4 ++-- 1 file 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']: -- cgit v1.2.1