[Lldb-commits] [lldb] r152038 - /lldb/trunk/utils/misc/grep-svn-log.py
Johnny Chen
johnny.chen at apple.com
Mon Mar 5 10:25:29 PST 2012
Author: johnny
Date: Mon Mar 5 12:25:29 2012
New Revision: 152038
URL: http://llvm.org/viewvc/llvm-project?rev=152038&view=rev
Log:
Minor cleanup.
Modified:
lldb/trunk/utils/misc/grep-svn-log.py
Modified: lldb/trunk/utils/misc/grep-svn-log.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/utils/misc/grep-svn-log.py?rev=152038&r1=152037&r2=152038&view=diff
==============================================================================
--- lldb/trunk/utils/misc/grep-svn-log.py (original)
+++ lldb/trunk/utils/misc/grep-svn-log.py Mon Mar 5 12:25:29 2012
@@ -59,6 +59,7 @@
# At this state, we keep on accumulating lines until the separator
# is encountered. At which point, we can return the log content.
if line == separator:
+ log.finish()
print log.getvalue()
return
log.add_line(line)
@@ -78,6 +79,7 @@
regexp = re.compile(sys.argv[1])
grep(regexp)
+ sys.stdin.close()
if __name__ == '__main__':
main()
More information about the lldb-commits
mailing list