Skip to content

Commit

Permalink
Update blob.py
Browse files Browse the repository at this point in the history
Added notes that point to issue 257. This change is required in order for ZODB to be imported on termux's python implementation which has disables os.link due to compatibility issues with their win32 implementation.
  • Loading branch information
BandungBB authored Aug 16, 2023
1 parent 05221e2 commit 91fab40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ZODB/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,8 @@ def remove_committed_dir(path):
try:
link_or_copy = os.link
except AttributeError: #pragma: no cover
# FBO termux on Android.
# See https://github.com/zopefoundation/ZODB/issues/257
link_or_copy = shutil.copy

def find_global_Blob(module, class_):
Expand Down

0 comments on commit 91fab40

Please sign in to comment.