[PATCH 2 of 4] [storages] docstring fix

Arthur Lutz arthur.lutz at logilab.fr
Fri Sep 20 14:42:26 CEST 2019


# HG changeset patch
# User Arthur Lutz <arthur.lutz at logilab.fr>
# Date 1568909451 -7200
#      Thu Sep 19 18:10:51 2019 +0200
# Node ID 84fa380517600af03d38e07a5230296bc8edbf68
# Parent  99b9849d5a001fc022d028ef3d727d75322cfd9a
# EXP-Topic custom-s3-endpoint
[storages] docstring fix

diff -r 99b9849d5a00 -r 84fa38051760 cubicweb_s3storage/storages.py
--- a/cubicweb_s3storage/storages.py	Thu Sep 19 18:10:33 2019 +0200
+++ b/cubicweb_s3storage/storages.py	Thu Sep 19 18:10:51 2019 +0200
@@ -98,11 +98,12 @@
         entity.cw_edited = None
 
     def get_s3_key(self, entity, attr):
-        """Return the S3 key of the S3 object storing the content of attribute attr of
-        the entity.
+        """
+        Return the S3 key of the S3 object storing the content of attribute
+        attr of the entity.
 
-        If the given entity has key yet (eg. at entity creation time), a new
-        key is generated.
+        If the given entity already has a key (eg. at entity creation time),
+        a new  key is generated.
 
         """
         try:



More information about the cubicweb-devel mailing list