Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc-kyb
mrdata common public
Commits
6ff0a472
Commit
6ff0a472
authored
Jun 23, 2022
by
Blake Fitch
Browse files
return right away if irods_sesh is None
parent
e0952ce5
Changes
1
Hide whitespace changes
Inline
Side-by-side
pymods/irods_utils/irods_utils.py
View file @
6ff0a472
...
...
@@ -243,6 +243,10 @@ def confirmed_put( irods_sesh, file, new_obj_ipath, metadata_dict=None, datatype
+
" datatype: "
+
datatype
+
" block_size: "
+
str
(
block_size
)
)
if
irods_sesh
==
None
:
logging
.
error
(
"irods_sesh == None"
)
return
None
# We want a hash of our file. Should put this off in a separate thread?
try
:
sha
=
hashlib
.
sha512
()
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment