persidict 0.15.0__tar.gz → 0.15.1__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: persidict
3
- Version: 0.15.0
3
+ Version: 0.15.1
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
  Home-page: https://github.com/pythagoras-dev/persidict
6
6
  Author: Vlad (Volodymyr) Pavlov
@@ -82,7 +82,11 @@ class S3Dict(PersiDict):
82
82
  else:
83
83
  self.s3_client = boto3.client('s3', region_name=region)
84
84
 
85
- self.bucket = self.s3_client.create_bucket(Bucket=bucket_name)
85
+ try:
86
+ self.bucket = self.s3_client.create_bucket(Bucket=bucket_name)
87
+ except:
88
+ pass
89
+
86
90
  self.bucket_name = bucket_name
87
91
 
88
92
  self.root_prefix=root_prefix
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: persidict
3
- Version: 0.15.0
3
+ Version: 0.15.1
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
  Home-page: https://github.com/pythagoras-dev/persidict
6
6
  Author: Vlad (Volodymyr) Pavlov
@@ -5,7 +5,7 @@ with open("README.md", "r") as f:
5
5
 
6
6
  setuptools.setup(
7
7
  name="persidict"
8
- ,version="0.15.0"
8
+ ,version="0.15.1"
9
9
  ,author="Vlad (Volodymyr) Pavlov"
10
10
  ,author_email="vlpavlov@ieee.org"
11
11
  ,description= "Simple persistent key-value store for Python. "
File without changes
File without changes
File without changes