From 907f207d3b4535f98fd115439fd36c43b64f311f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 29 May 2011 17:17:31 +0100 Subject: Use newer cliapp API for adding new settings. --- fix-shebang | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fix-shebang') diff --git a/fix-shebang b/fix-shebang index ee1756d..8478cd2 100755 --- a/fix-shebang +++ b/fix-shebang @@ -23,8 +23,7 @@ import tempfile class FixShebang(cliapp.Application): def add_settings(self): - self.settings.add_string_setting(['shebang'], - 'interpreter path and args') + self.settings.string(['shebang'], 'interpreter path and args') def process_input(self, arg): name = self.create_tempfile_for(arg) -- cgit v1.2.1