9b3920646edde08d8fbb57c4b9f1d204fc83f09d,debug_toolbar/utils/__init__.py,,tidy_stacktrace,#,22
Before Change
if not text:
text = ""
else:
text = ("".join(text)).strip()
trace.append((path, line_no, func_name, text))
return trace
After Change
continue
if socketserver_path in s_path:
continue
text = ("".join(force_text(t) for t in text)).strip() if text else ""
trace.append((path, line_no, func_name, text))
return trace
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: jazzband/django-debug-toolbar
Commit Name: 9b3920646edde08d8fbb57c4b9f1d204fc83f09d
Time: 2013-10-17
Author: aymeric.augustin@m4x.org
File Name: debug_toolbar/utils/__init__.py
Class Name:
Method Name: tidy_stacktrace
Project Name: dirty-cat/dirty_cat
Commit Name: f70e71d5c7fdc8e25391e54e74c3402fb323ad5c
Time: 2018-06-06
Author: pierreglaser@msn.com
File Name: examples/plot_employee_salaries.py
Class Name:
Method Name:
Project Name: HazyResearch/fonduer
Commit Name: 43a50ab6a3f717c738c8abba16779be59878bf4b
Time: 2020-10-06
Author: hiromu.hota@hal.hitachi.com
File Name: src/fonduer/parser/preprocessors/hocr_doc_preprocessor.py
Class Name: HOCRDocPreprocessor
Method Name: _parse_file