From 5a53384fdec982f3fa4985dc9a48d51c52ce464f Mon Sep 17 00:00:00 2001 From: Denys Zhdanov Date: Sun, 25 Aug 2024 22:31:19 +0200 Subject: [PATCH] taming linter --- webapp/graphite/events/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/graphite/events/models.py b/webapp/graphite/events/models.py index 3f8508171..c90408a58 100644 --- a/webapp/graphite/events/models.py +++ b/webapp/graphite/events/models.py @@ -1,13 +1,13 @@ import os from django.db import models +from django.utils.encoding import smart_str # Monkeypatching so that django-tagging can import python_2_unicode_compatible import django.utils.encoding import six django.utils.encoding.python_2_unicode_compatible = six.python_2_unicode_compatible django.utils.six = six -from django.utils.encoding import smart_str django.utils.encoding.smart_text = smart_str from tagging.models import Tag # noqa: E402