Skip to content
Snippets Groups Projects
Commit 6ff0a472 authored by Blake Fitch's avatar Blake Fitch
Browse files

return right away if irods_sesh is None

parent e0952ce5
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment