diff options
author | Arisu <arisu@styl.us.to> | 2011-10-10 15:41:00 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-10 15:46:14 +0200 |
commit | b9c432d9ecb58e7c5dbc7957843aa4ea3509834f (patch) | |
tree | 541fb02f001588792d364f54b3a664b152413fbc /ranger/core/actions.py | |
parent | 8afc4b5f2c5312c89352e27ccb82664821b841cf (diff) | |
download | ranger-b9c432d9ecb58e7c5dbc7957843aa4ea3509834f.tar.gz |
Eliminate orphaned functions and arguments
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 09b86a0f..7ae6628b 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -200,7 +200,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): return macros - def source_cmdlist(self, filename, narg=None): + def source_cmdlist(self, filename): filename = os.path.expanduser(filename) for line in open(filename, 'r'): line = line.rstrip("\r\n") @@ -614,7 +614,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): lines = cleandoc(command.__doc__).split('\n') pager.set_source(lines) - def display_help(self, narg=None): + def display_help(self): manualpath = self.relpath('../doc/ranger.1') if os.path.exists(manualpath): process = self.run(['man', manualpath]) |