Skip to content

Commit 8376557

Browse files
committed
Add comment
1 parent e70f73b commit 8376557

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readthedocs/projects/tasks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,9 @@ def run(
390390
'stack': True,
391391
'tags': {
392392
'build': build_pk,
393+
# We can't depend on these objects because the api
394+
# could fail. But self.project and self.version are
395+
# initialized as empty dicts in the init method.
393396
'project': self.project.slug if self.project else None,
394397
'version': self.version.slug if self.version else None,
395398
},

0 commit comments

Comments
 (0)