mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +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,
|
def github_issue_role(name, rawtext, text, lineno, inliner,
|
||||||
options={}, content=()): # noqa: B006
|
options=None, content=()):
|
||||||
|
options = options or {}
|
||||||
try:
|
try:
|
||||||
issue_num = int(text)
|
issue_num = int(text)
|
||||||
if issue_num <= 0:
|
if issue_num <= 0:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue