Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit4b86993
committed
Use same code style for all logging without placeholders
When logging with only a msg argument, it is a full literal messagerather than a format string (as it is when there are placeholders).Thus both `...("%s", text)` and `...(text)`, where `...` is alogging method or function, are equally good code styles, provided`text` really is known to behave the same as `str(text)`.The latter style, `...(text)`, was used in all logging calls, bothin the git module and in the test suite, except one. This changesthe one outlier from `...("%s", text)` to `...(text)` for stylisticconsistency and to avoid giving the false impression that there issomething special about that call.1 parent5faf621 commit4b86993
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 |
| - | |
| 177 | + | |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
|
0 commit comments
Comments
(0)