Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
syslog: pep 7
  • Loading branch information
noamcohen97 committed Jul 26, 2022
commit 3d2957708c1f509abc1bb79ac9ee609d3e875a6c
3 changes: 2 additions & 1 deletion Modules/syslogmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ syslog_openlog_impl(PyObject *module, PyObject *ident, long logopt,

if (ident) {
Py_INCREF(ident);
} else {
}
else {
/* get sys.argv[0] or NULL if we can't for some reason */
ident = syslog_get_argv();
}
Expand Down