summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ansible10
-rwxr-xr-xbin/ansible-connection4
2 files changed, 1 insertions, 13 deletions
diff --git a/bin/ansible b/bin/ansible
index cc4bfd7a69..cd83e9a413 100755
--- a/bin/ansible
+++ b/bin/ansible
@@ -22,15 +22,7 @@ from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
__requires__ = ['ansible']
-try:
- import pkg_resources
-except Exception:
- # Use pkg_resources to find the correct versions of libraries and set
- # sys.path appropriately when there are multiversion installs. But we
- # have code that better expresses the errors in the places where the code
- # is actually used (the deps are optional for many code paths) so we don't
- # want to fail here.
- pass
+
import os
import shutil
diff --git a/bin/ansible-connection b/bin/ansible-connection
index ac378a4d87..a06adcfc3b 100755
--- a/bin/ansible-connection
+++ b/bin/ansible-connection
@@ -6,10 +6,6 @@ from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
__requires__ = ['ansible']
-try:
- import pkg_resources
-except Exception:
- pass
import fcntl
import hashlib