summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-10-27 23:22:39 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2015-10-27 23:23:25 -0700
commit7c10c16251d09fcdd99c5ee9364fb0796e3b3a25 (patch)
tree61986530ffe20502da061ae13c786cf274bd0838 /bin
parentb2fc5142eb65b2d91f4d1ce9aa579bd7e7dd0da6 (diff)
downloadansible-7c10c16251d09fcdd99c5ee9364fb0796e3b3a25.tar.gz
Revert "capture some install issues and give out a slightly nicer error"
This reverts commit e6b1dc45e1f8fb0040579622239d26eddf65aefe. This is not ready yet and it's causing failures in some environments (travis)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ansible5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/ansible b/bin/ansible
index 7cd76e4550..70e6863f6b 100755
--- a/bin/ansible
+++ b/bin/ansible
@@ -36,8 +36,6 @@ import os
import sys
import traceback
-from pkg_resources import DistributionNotFound
-
from ansible.errors import AnsibleError, AnsibleOptionsError, AnsibleParserError
from ansible.utils.display import Display
from ansible.utils.unicode import to_unicode
@@ -100,9 +98,6 @@ if __name__ == '__main__':
except AnsibleError as e:
display.error(to_unicode(e), wrap_text=False)
sys.exit(1)
- except DistributionNotFound as e:
- display.error("There is an issue with the Ansible installation: %s" % to_unicode(e))
- sys.exit(10)
except KeyboardInterrupt:
display.error("User interrupted execution")
sys.exit(99)