summaryrefslogtreecommitdiff
path: root/utils/clangdiag.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/clangdiag.py')
-rwxr-xr-xutils/clangdiag.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/clangdiag.py b/utils/clangdiag.py
index 9a80e2696d52f..6baf65a8761c3 100755
--- a/utils/clangdiag.py
+++ b/utils/clangdiag.py
@@ -9,9 +9,9 @@
# (lldb) command script import /path/to/clandiag.py
#----------------------------------------------------------------------
+from __future__ import absolute_import, division, print_function
import lldb
import argparse
-import commands
import shlex
import os
import re
@@ -189,4 +189,4 @@ def __lldb_init_module(debugger, dict):
# Add any commands contained in this module to LLDB
debugger.HandleCommand(
'command script add -f clangdiag.the_diag_command clangdiag')
- print 'The "clangdiag" command has been installed, type "help clangdiag" or "clangdiag --help" for detailed help.'
+ print('The "clangdiag" command has been installed, type "help clangdiag" or "clangdiag --help" for detailed help.')