Skip to content

Commit b66ff06

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 07dffbf commit b66ff06

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

view_breadcrumbs/generic/delete.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def delete_view_url(self, instance):
3838

3939
def delete_view_label(self, instance):
4040
if self.delete_format_string:
41-
return self.delete_format_string % {'instance': force_str(instance)}
42-
return _("Delete %(instance)s") % {'instance': force_str(instance)}
41+
return self.delete_format_string % {"instance": force_str(instance)}
42+
return _("Delete %(instance)s") % {"instance": force_str(instance)}
4343

4444
@property
4545
def crumbs(self):

view_breadcrumbs/generic/update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def update_view_url(self, instance):
4242

4343
def update_view_label(self, instance):
4444
if self.update_format_string:
45-
return self.update_format_string % {'instance': force_str(instance)}
46-
return _("Update %(instance)s") % {'instance': force_str(instance)}
45+
return self.update_format_string % {"instance": force_str(instance)}
46+
return _("Update %(instance)s") % {"instance": force_str(instance)}
4747

4848
@property
4949
def crumbs(self):

0 commit comments

Comments
 (0)