Skip to content

Commit

Permalink
Merge pull request #5930 from Abhi-khandelwal/I-5929
Browse files Browse the repository at this point in the history
remove the usage of six
  • Loading branch information
stsewd committed Jul 15, 2019
2 parents 7e112c1 + 63453b1 commit a0271d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readthedocs/projects/models.py
Expand Up @@ -15,7 +15,7 @@
from django.utils.functional import cached_property
from django.utils.translation import ugettext_lazy as _
from django_extensions.db.models import TimeStampedModel
from six.moves import shlex_quote
from shlex import quote
from taggit.managers import TaggableManager

from readthedocs.api.v2.client import api
Expand Down Expand Up @@ -1476,5 +1476,5 @@ def __str__(self):
return self.name

def save(self, *args, **kwargs): # pylint: disable=arguments-differ
self.value = shlex_quote(self.value)
self.value = quote(self.value)
return super().save(*args, **kwargs)

0 comments on commit a0271d1

Please sign in to comment.