diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-05-29 17:17:31 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-05-29 17:17:31 +0100 |
commit | 907f207d3b4535f98fd115439fd36c43b64f311f (patch) | |
tree | fd47174cf2a92e119cd979bf4f01395c4bac0464 /fix-shebang | |
parent | fdaec97979044db0d9cf36d5ed5344ca1745fa00 (diff) | |
download | extrautils-907f207d3b4535f98fd115439fd36c43b64f311f.tar.gz |
Use newer cliapp API for adding new settings.
Diffstat (limited to 'fix-shebang')
-rwxr-xr-x | fix-shebang | 3 |
1 files changed, 1 insertions, 2 deletions
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) |