зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1270002 - Use sliced array to ignore trailing tokens. r=mccr8
This commit is contained in:
Родитель
ba61fbfcaa
Коммит
3ca7032d96
|
@ -43,7 +43,7 @@ def process_log(log_lines):
|
|||
obj,
|
||||
ignore,
|
||||
operation,
|
||||
count,) = log_line.strip('\r\n').split(' ')
|
||||
count,) = log_line.strip('\r\n').split(' ')[:5]
|
||||
|
||||
# for AddRef/Release `count' is the refcount,
|
||||
# for Ctor/Dtor it's the size.
|
||||
|
|
Загрузка…
Ссылка в новой задаче