Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loosolab-s3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
loosolab
software
loosolab-s3
Commits
37db83e6
Commit
37db83e6
authored
2 years ago
by
Philipp Goymann
Browse files
Options
Downloads
Patches
Plain Diff
pretty fie log of upload
parent
d082e40e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+5
-1
5 additions, 1 deletion
.gitignore
loosolab_s3/s3_functions.py
+2
-1
2 additions, 1 deletion
loosolab_s3/s3_functions.py
with
7 additions
and
2 deletions
.gitignore
+
5
−
1
View file @
37db83e6
*.pyc
test_script.py
build
dist
\ No newline at end of file
dist
main.py
.vscode/
loosolab_s3.egg-info/
setup.cfg
\ No newline at end of file
This diff is collapsed.
Click to expand it.
loosolab_s3/s3_functions.py
+
2
−
1
View file @
37db83e6
...
...
@@ -444,7 +444,8 @@ class Loosolab_s3:
else
:
self
.
transfer
.
upload_file
(
local_file_name
,
bucket_name
,
file_name
)
#self.session.Bucket(bucket_name).upload_file(local_file_name, file_name, Config=self.transfer)
self
.
logger
.
info
(
"
File
"
+
str
(
local_file_name
)
+
'
gets uploaded!
'
+
str
(
count
)
+
'
of
'
+
str
(
len
(
file_list
)))
self
.
logger
.
info
(
str
(
count
)
+
'
/
'
+
str
(
len
(
file_list
))
+
"
File
"
+
str
(
local_file_name
)
+
'
gets uploaded!
'
)
count
+=
1
except
Exception
as
e
:
self
.
__exception_log__
(
"
S3: Uploading files failed!
"
,
e
)
return
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment