File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
investing_algorithm_framework/infrastructure/services/aws Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,16 @@ def load(self, target_directory: str):
139139 # Final recursive fix
140140 _fix_permissions (target_directory )
141141
142- # Add write permission to file (0o666 = rw-rw-rw-, then masked by umask)
142+ # Add write permission to file (
143+ # 0o666 = rw-rw-rw-, then masked by umask)
143144 db_file = os .path .join (target_directory ,
144145 'databases/prod-database.sqlite3' )
145146 if os .path .exists (db_file ):
146147 os .chmod (db_file , 0o666 )
147148 logger .info (
148- f"Database file permissions after fix: { oct (os .stat (db_file ).st_mode )} " )
149+ f"Database file permissions "
150+ f"after fix: { oct (os .stat (db_file ).st_mode )} "
151+ )
149152
150153 except (NoCredentialsError , PartialCredentialsError ) as ex :
151154 logger .error (f"Error loading state from AWS S3: { ex } " )
You can’t perform that action at this time.
0 commit comments