Index: third_party/google-endpoints/future/moves/tkinter/filedialog.py |
diff --git a/third_party/google-endpoints/future/moves/tkinter/filedialog.py b/third_party/google-endpoints/future/moves/tkinter/filedialog.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..35e21ac0eb19de613107633c378df64ecf2dc080 |
--- /dev/null |
+++ b/third_party/google-endpoints/future/moves/tkinter/filedialog.py |
@@ -0,0 +1,13 @@ |
+from __future__ import absolute_import |
+ |
+from future.utils import PY3 |
+ |
+if PY3: |
+ from tkinter.filedialog import * |
+else: |
+ try: |
+ from FileDialog import * |
+ except ImportError: |
+ raise ImportError('The FileDialog module is missing. Does your Py2 ' |
+ 'installation include tkinter?') |
+ |