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