Skip to content

Commit

Permalink
Merge pull request #34865 from thatch45/break_suse
Browse files Browse the repository at this point in the history
This needs discussion, since this breaks SUSE
  • Loading branch information
thatch45 committed Jul 22, 2016
2 parents aaede31 + 6c5f363 commit 584d760
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions salt/utils/thin.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@
# Older jinja does not need markupsafe
HAS_MARKUPSAFE = False

try:
import xml
HAS_XML = True
except ImportError:
HAS_XML = False
# pylint: enable=import-error,no-name-in-module

try:
Expand Down Expand Up @@ -129,10 +124,6 @@ def get_tops(extra_mods='', so_mods=''):
if HAS_SSL_MATCH_HOSTNAME:
tops.append(os.path.dirname(os.path.dirname(ssl_match_hostname.__file__)))

if HAS_XML:
# For openSUSE, which apparently doesn't include the whole stdlib
tops.append(os.path.dirname(xml.__file__))

for mod in [m for m in extra_mods.split(',') if m]:
if mod not in locals() and mod not in globals():
try:
Expand Down

0 comments on commit 584d760

Please sign in to comment.