Skip to content

Commit

Permalink
style: remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
dmyersturnbull committed Feb 22, 2025
1 parent 7009c11 commit 18dcff2
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions rcsb/db/mongo/ConnectionBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,15 @@

import copy
import logging
import platform
from urllib.parse import quote_plus

from pymongo import MongoClient
from pymongo.errors import ConnectionFailure

try:
# Python 3.x
from urllib.parse import quote_plus
except ImportError:
# Python 2.x
from urllib import quote_plus

logger = logging.getLogger(__name__)


if platform.system() == "Linux":
try:
pass
except Exception:
logger.exception("Loading Linux feature failing")


class ConnectionBase(object):
def __init__(self, verbose=False):
self.__verbose = verbose
Expand Down

0 comments on commit 18dcff2

Please sign in to comment.