Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit 7ea174a

Browse files
committed
[models] Minor simplification in update_all
1 parent ba51a6f commit 7ea174a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

django_netjsongraph/base/topology.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,5 +303,4 @@ def update_all(cls, label=None):
303303
print_info('Updating topology {0}'.format(topology))
304304
with log_failure('update', topology):
305305
topology.update()
306-
Link = cls().link_model
307-
Link.delete_expired_links()
306+
cls().link_model.delete_expired_links()

0 commit comments

Comments
 (0)