diff options
author | Serge Guelton <sguelton@redhat.com> | 2019-03-25 15:23:34 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@redhat.com> | 2019-03-25 15:23:34 +0000 |
commit | 3a22c3cc2b06bd871cabddac3a541cdf03399b77 (patch) | |
tree | 28d3f77dd241bf8ad0664f9937dfdf6be2176495 /lldb/utils/misc/grep-svn-log.py | |
parent | 6ee3804613b72ef2e14ca99b047611bddb4814ad (diff) | |
download | bcm5719-llvm-3a22c3cc2b06bd871cabddac3a541cdf03399b77.tar.gz bcm5719-llvm-3a22c3cc2b06bd871cabddac3a541cdf03399b77.zip |
Python 2/3 compat: StringIO
Differential Revision: https://reviews.llvm.org/D59582
llvm-svn: 356910
Diffstat (limited to 'lldb/utils/misc/grep-svn-log.py')
-rwxr-xr-x | lldb/utils/misc/grep-svn-log.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/utils/misc/grep-svn-log.py b/lldb/utils/misc/grep-svn-log.py index 2a9795e37be..a1490479200 100755 --- a/lldb/utils/misc/grep-svn-log.py +++ b/lldb/utils/misc/grep-svn-log.py @@ -13,7 +13,7 @@ from __future__ import print_function import fileinput import re import sys -import StringIO +import io # Separator string for "svn log -v" output. separator = '-' * 72 @@ -23,7 +23,7 @@ Example: svn log -v | grep-svn-log.py '^ D.+why_are_you_missing.h'""" -class Log(StringIO.StringIO): +class Log(io.StringIO): """Simple facade to keep track of the log content.""" def __init__(self): |