summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-24 17:20:30 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-24 17:20:30 -0400
commit40f8a84dc0177097c8c0f97e91a8b514d1540c0f (patch)
tree5183d395ff318783068716d4a84d5b1a7ea599f5 /cmd2.py
parentbd5fbf991679d8e3b7c5069f973999b9c73708c3 (diff)
downloadcmd2-git-40f8a84dc0177097c8c0f97e91a8b514d1540c0f.tar.gz
Remove unneeded use of functools.partial
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index ced4f08c..439c6e38 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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