Portable Python script across Python version
Make scripts more future-proof by importing most __future__ stuff.
Differential Revision: https://reviews.llvm.org/D55208
git-svn-id: svn://svn.chromium.org/llvm-project/cfe/trunk/tools/clang-format@349504 0b72dbe1-c17f-4bc7-b9db-2b4152be0356
diff --git a/clang-format-sublime.py b/clang-format-sublime.py
index 16ff56e..5ea9a27 100644
--- a/clang-format-sublime.py
+++ b/clang-format-sublime.py
@@ -12,7 +12,7 @@
# It operates on the current, potentially unsaved buffer and does not create
# or save any files. To revert a formatting, just undo.
-from __future__ import print_function
+from __future__ import absolute_import, division, print_function
import sublime
import sublime_plugin
import subprocess