This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
''' | ||
Salt Cloud compatibility code | ||
''' | ||
try: | ||
# Python >2.5 | ||
import xml.etree.cElementTree as ElementTree | ||
except ImportError: | ||
try: | ||
# Python >2.5 | ||
import xml.etree.ElementTree as ElementTree | ||
except ImportError: | ||
try: | ||
# normal cElementTree install | ||
import elementtree.cElementTree as ElementTree | ||
except ImportError: | ||
try: | ||
# normal ElementTree install | ||
import elementtree.ElementTree as ElementTree | ||
except ImportError: | ||
raise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters