summaryrefslogtreecommitdiff
path: root/fix-shebang
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-29 17:17:31 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-29 17:17:31 +0100
commit907f207d3b4535f98fd115439fd36c43b64f311f (patch)
treefd47174cf2a92e119cd979bf4f01395c4bac0464 /fix-shebang
parentfdaec97979044db0d9cf36d5ed5344ca1745fa00 (diff)
downloadextrautils-907f207d3b4535f98fd115439fd36c43b64f311f.tar.gz
Use newer cliapp API for adding new settings.
Diffstat (limited to 'fix-shebang')
-rwxr-xr-xfix-shebang3
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)