Mercurial > p > roundup > code
comparison roundup/configuration.py @ 8488:7142740e6547
merge heads: CHANGES.txt also whitespace fixups.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 08 Dec 2025 23:05:26 -0500 |
| parents | b09ef85f0da6 |
| children | 520075b29474 |
comparison
equal
deleted
inserted
replaced
| 8486:e2d0f36c525d | 8488:7142740e6547 |
|---|---|
| 2438 return True | 2438 return True |
| 2439 | 2439 |
| 2440 for name, value in get_context_info(): | 2440 for name, value in get_context_info(): |
| 2441 if not hasattr(record, name): | 2441 if not hasattr(record, name): |
| 2442 setattr(record, name, value) | 2442 setattr(record, name, value) |
| 2443 continue | |
| 2444 if (name == "processName" and | |
| 2445 isinstance(value, str) and | |
| 2446 getattr(record, name) == "MainProcess"): | |
| 2447 setattr(record, name, value) | |
| 2448 | |
| 2443 record.pct_char = "%" | 2449 record.pct_char = "%" |
| 2444 record.ROUNDUP_CONTEXT_FILTER_CALLED = True | 2450 record.ROUNDUP_CONTEXT_FILTER_CALLED = True |
| 2445 | 2451 |
| 2446 if hasattr(record, "sinfo"): | 2452 if hasattr(record, "sinfo"): |
| 2447 # sinfo has to be set via extras argument to logging commands | 2453 # sinfo has to be set via extras argument to logging commands |
