Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Feb 20, 2019
1 parent e70f73b commit 8376557
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readthedocs/projects/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ def run(
'stack': True,
'tags': {
'build': build_pk,
# We can't depend on these objects because the api
# could fail. But self.project and self.version are
# initialized as empty dicts in the init method.
'project': self.project.slug if self.project else None,
'version': self.version.slug if self.version else None,
},
Expand Down

0 comments on commit 8376557

Please sign in to comment.