Skip to content

Commit

Permalink
simplify shlex import
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Jan 29, 2024
1 parent 555fed0 commit a246084
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dbbackup/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,14 @@
from datetime import datetime
from functools import wraps
from getpass import getpass
from shlex import quote
from shutil import copyfileobj

from django.core.mail import EmailMultiAlternatives
from django.db import connection
from django.http import HttpRequest
from django.utils import timezone

try:
from shlex import quote
except ImportError:
from shlex import quote

from . import settings

FAKE_HTTP_REQUEST = HttpRequest()
Expand Down

0 comments on commit a246084

Please sign in to comment.