Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: visual_studio/NativeClientVSAddIn/InstallerResources/third_party/__init__.py

Issue 10831030: NaCl settings and completed install scripts. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 """Third party includes for the installer.
2
3 Module contains:
4 etree -- The ElementTree XML library. This is a subset of the full
5 ElementTree XML release.
6
7 """
8
9
10 __all__ = ["etree"]
11
12 _MINIMUM_XMLPLUS_VERSION = (0, 8, 4)
13
14
15 try:
16 import _xmlplus
17 except ImportError:
18 pass
19 else:
20 try:
21 v = _xmlplus.version_info
22 except AttributeError:
23 # _xmlplus is too old; ignore it
24 pass
25 else:
26 if v >= _MINIMUM_XMLPLUS_VERSION:
27 import sys
28 _xmlplus.__path__.extend(__path__)
29 sys.modules[__name__] = _xmlplus
30 else:
31 del v
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698