mirror of https://github.com/papermerge/mglib
add empty _s3copy method to the storage class
parent
bea2a7dd62
commit
00775cef7d
|
@ -1,6 +1,10 @@
|
||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.3.9] - 2021-09-19
|
||||||
|
### Added
|
||||||
|
- empty \_s3copy method to meglib.storage.Storage class
|
||||||
|
|
||||||
## [1.3.8] - 4 March 2020
|
## [1.3.8] - 4 March 2020
|
||||||
|
|
||||||
- bug fix: reset version to 0 for newly created documents "from paste"
|
- bug fix: reset version to 0 for newly created documents "from paste"
|
||||||
|
|
|
@ -33,6 +33,9 @@ class Storage:
|
||||||
def download(self, doc_path_url, **kwargs):
|
def download(self, doc_path_url, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def _s3copy(self, src, dst):
|
||||||
|
pass
|
||||||
|
|
||||||
def make_sure_path_exists(self, filepath):
|
def make_sure_path_exists(self, filepath):
|
||||||
logger.debug(f"make_sure_path_exists {filepath}")
|
logger.debug(f"make_sure_path_exists {filepath}")
|
||||||
dirname = os.path.dirname(filepath)
|
dirname = os.path.dirname(filepath)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = mglib
|
name = mglib
|
||||||
version = 1.3.8
|
version = 1.3.9
|
||||||
description = Common code used across all Papermerge project utilities
|
description = Common code used across all Papermerge project utilities
|
||||||
long_description = file: README.rst
|
long_description = file: README.rst
|
||||||
url = https://www.papermerge.com/
|
url = https://www.papermerge.com/
|
||||||
|
|
Loading…
Reference in New Issue