Skip to content

Commit

Permalink
Delete unused imports from code.py: lending, Bookshelves, Ratings , B… (
Browse files Browse the repository at this point in the history
#7413)

* Delete unused imports from code.py
lending, Bookshelves, Ratings , Booknotes, Observations and services.
  • Loading branch information
Eds-Dbug authored Jan 12, 2023
1 parent f2be923 commit 6c00bd5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions openlibrary/plugins/admin/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import traceback
import logging
import json
import yaml

from infogami import config
from infogami.utils import delegate
Expand All @@ -27,19 +26,12 @@

from openlibrary import accounts

from openlibrary.core import lending, admin as admin_stats, helpers as h, imports, cache
from openlibrary.core import admin as admin_stats, helpers as h, imports, cache
from openlibrary.core.waitinglist import Stats as WLStats
from openlibrary.core.sponsorships import summary, sync_completed_sponsored_books
from openlibrary.core.bookshelves import Bookshelves
from openlibrary.core.ratings import Ratings
from openlibrary.core.booknotes import Booknotes
from openlibrary.core.observations import Observations
from openlibrary.core.models import Work

from openlibrary.plugins.upstream import forms, spamcheck
from openlibrary.plugins.upstream.account import send_forgot_password_email
from openlibrary.plugins.admin import services


logger = logging.getLogger("openlibrary.admin")

Expand Down

0 comments on commit 6c00bd5

Please sign in to comment.