diff options
Diffstat (limited to 'llvm/utils/DSAclean.py')
-rwxr-xr-x | llvm/utils/DSAclean.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/utils/DSAclean.py b/llvm/utils/DSAclean.py index 6c43357019e..789a825a067 100755 --- a/llvm/utils/DSAclean.py +++ b/llvm/utils/DSAclean.py @@ -8,10 +8,13 @@ #the comments #10/12/2005: now it only removes nodes and edges for which the label is %tmp.# rather #than removing all lines for which the lable CONTAINS %tmp.# + +from __future__ import print_function + import re import sys if( len(sys.argv) < 3 ): - print 'usage is: ./DSAclean <dot_file_to_be_cleaned> <out_put_file>' + print('usage is: ./DSAclean <dot_file_to_be_cleaned> <out_put_file>') sys.exit(1) #get a file object input = open(sys.argv[1], 'r') |