persidict 0.36.10__py3-none-any.whl → 0.36.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of persidict might be problematic. Click here for more details.

@@ -190,7 +190,12 @@ class FileDirDict(PersiDict):
190
190
  os.remove(os.path.join(subdir_name, f))
191
191
  if (subdir_name != self._base_dir) and (
192
192
  len(os.listdir(subdir_name)) == 0 ):
193
- os.rmdir(subdir_name)
193
+ try:
194
+ os.rmdir(subdir_name)
195
+ except OSError:
196
+ # Directory is not empty, likely due to a race condition.
197
+ # Continue without raising an error.
198
+ pass
194
199
 
195
200
 
196
201
  def _build_full_path(self
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: persidict
3
- Version: 0.36.10
3
+ Version: 0.36.11
4
4
  Summary: Simple persistent key-value store for Python. Values are stored as files on a disk or as S3 objects on AWS cloud.
5
5
  Keywords: persistence,dicts,distributed,parallel
6
6
  Author: Vlad (Volodymyr) Pavlov
@@ -1,6 +1,6 @@
1
1
  persidict/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
2
2
  persidict/__init__.py,sha256=CDOSJGgCnyRTkGUTzaeg3Cqsxwx0-0EFieOtldXwAls,1380
3
- persidict/file_dir_dict.py,sha256=JJ5oEyaqwTm9g_tUrVfut0IYI7bd5B2lhxrLzadTohA,25541
3
+ persidict/file_dir_dict.py,sha256=mWMgLN_uj-IlqIbyVdbABLVxiB-t2wh2rbv98sUWyrY,25758
4
4
  persidict/jokers.py,sha256=7ibh0ccfkEm3EvKIOhH9ShfZ0_MBKYMvKa1rwqHg1hk,3010
5
5
  persidict/overlapping_multi_dict.py,sha256=UFyPEG2GbMmMHY48UmcaLHpsaxMqRH3bc_UA8S90yJo,5947
6
6
  persidict/persi_dict.py,sha256=Q7fGs9LFPxSLtC0jJwDOP1AVD9_t01SnwdN4RVBMZtg,20660
@@ -9,6 +9,6 @@ persidict/safe_chars.py,sha256=H-cL9waCmDtwaRR5Y4b4oTzcBx09nc8wn8u61SVZDY0,1728
9
9
  persidict/safe_str_tuple.py,sha256=YBTcYjUKIffznOawXb9xKjz4HaKdklrgyVtegJFmr5w,7202
10
10
  persidict/safe_str_tuple_signing.py,sha256=mpOfx_xyprc0_c60XPB_EihI3vR1gOn6T03iCx1HwwQ,7494
11
11
  persidict/write_once_dict.py,sha256=nv5vx9uh6VZ5Qh3HJcBgUHLnDX9KY843FbHndcy-63E,11677
12
- persidict-0.36.10.dist-info/WHEEL,sha256=Pi5uDq5Fdo_Rr-HD5h9BiPn9Et29Y9Sh8NhcJNnFU1c,79
13
- persidict-0.36.10.dist-info/METADATA,sha256=iJ9RdvGe3i_xO3yTM8J8iaZ6k2lwd_ezDl8kzqioywc,12388
14
- persidict-0.36.10.dist-info/RECORD,,
12
+ persidict-0.36.11.dist-info/WHEEL,sha256=Pi5uDq5Fdo_Rr-HD5h9BiPn9Et29Y9Sh8NhcJNnFU1c,79
13
+ persidict-0.36.11.dist-info/METADATA,sha256=T3NKQWLF_OlBZTx4wg3x16RUiTlcYignxP9UVrNrVPc,12388
14
+ persidict-0.36.11.dist-info/RECORD,,