mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Fix using mutable object as default arg
This commit is contained in:
parent
75719ecc66
commit
abf199f21e
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@ texinfo_documents = [
|
|||
|
||||
|
||||
def github_issue_role(name, rawtext, text, lineno, inliner,
|
||||
options={}, content=()): # noqa: B006
|
||||
options=None, content=()):
|
||||
options = options or {}
|
||||
try:
|
||||
issue_num = int(text)
|
||||
if issue_num <= 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue