Skip to content

Commit 0399fd2

Browse files
committed
Format
1 parent 71668ef commit 0399fd2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

readthedocs/builds/models.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,18 @@ def save(self, *args, **kwargs): # pylint: disable=arguments-differ
217217
def delete(self, *args, **kwargs): # pylint: disable=arguments-differ
218218
from readthedocs.projects import tasks
219219
log.info('Removing files for version %s', self.slug)
220-
broadcast(type='app', task=tasks.clear_artifacts, args=[self.get_artifact_paths()])
220+
broadcast(
221+
type='app',
222+
task=tasks.clear_artifacts,
223+
args=[self.get_artifact_paths()],
224+
)
221225
project_pk = self.project.pk
222226
super(Version, self).delete(*args, **kwargs)
223227
broadcast(
224-
type='app', task=tasks.symlink_project, args=[project_pk])
228+
type='app',
229+
task=tasks.symlink_project,
230+
args=[project_pk],
231+
)
225232

226233
@property
227234
def identifier_friendly(self):

0 commit comments

Comments
 (0)