diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-24 17:20:30 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-24 17:20:30 -0400 |
commit | 40f8a84dc0177097c8c0f97e91a8b514d1540c0f (patch) | |
tree | 5183d395ff318783068716d4a84d5b1a7ea599f5 | |
parent | bd5fbf991679d8e3b7c5069f973999b9c73708c3 (diff) | |
download | cmd2-git-40f8a84dc0177097c8c0f97e91a8b514d1540c0f.tar.gz |
Remove unneeded use of functools.partial
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1924,7 +1924,7 @@ class Cmd(cmd.Cmd): else: # Check if this command should be run as a shell command if self.default_to_shell and command in self.get_exes_in_path(command): - compfunc = functools.partial(self.path_complete) + compfunc = self.path_complete else: compfunc = self.completedefault |