Skip to content

Commit c670565

Browse files
remove loan_to
1 parent a0b633b commit c670565

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

api/circulation.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ def fd(self, d: datetime.datetime | None) -> str | None:
111111
if not d:
112112
return None
113113
else:
114-
print(d, "before")
115114
date = datetime.datetime.strftime(d, "%Y/%m/%d %H:%M:%S")
116-
print(date, "date after")
117115
return date
118116

119117

@@ -317,7 +315,7 @@ def content_expires(self) -> datetime.datetime | None:
317315
def content_expires(self, value: datetime.datetime | None) -> None:
318316
self._content_expires = value
319317

320-
318+
# TODO: Remove this class, it's only used by Axis.
321319
class APIAwareFulfillmentInfo(FulfillmentInfo, ABC):
322320
"""This that acts like FulfillmentInfo but is prepared to make an API
323321
request on demand to get data, rather than having all the data

api/odl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,6 @@ def _checkout(
633633
# external_identifier: str | None = None,
634634
# locked_to: DeliveryMechanismInfo | None = None,
635635

636-
license_.loan_to(patron)
637636
# We also need to update the remaining checkouts for the license.
638637
license_.checkout()
639638

0 commit comments

Comments
 (0)