File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
6
6
7
+ ## 2.3.4 - 2020-10-04
8
+
9
+ ### Fixed
10
+ - Extractor would not run in case clowder_url was ""
11
+
7
12
## 2.3.3 - 2020-10-02
8
13
9
14
### Fixed
Original file line number Diff line number Diff line change @@ -376,15 +376,17 @@ def _process_message(self, body):
376
376
logger .debug (emailaddrlist )
377
377
# source_host is original from the message, host is remapped to CLOWDER_URL if given
378
378
source_host = body .get ('host' , '' )
379
- host = self .clowder_url if self .clowder_url is not None else source_host
379
+ host = self .clowder_url if self .clowder_url else source_host
380
380
if host == '' or source_host == '' :
381
+ logging .error ("Host is empty, this is bad." )
381
382
return
382
383
if not source_host .endswith ('/' ): source_host += '/'
383
384
if not host .endswith ('/' ): host += '/'
384
385
secret_key = body .get ('secretKey' , '' )
385
386
retry_count = 0 if 'retry_count' not in body else body ['retry_count' ]
386
387
resource = self ._build_resource (body , host , secret_key )
387
388
if not resource :
389
+ logging .error ("No resource found, this is bad." )
388
390
return
389
391
390
392
# register extractor
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def description():
9
9
10
10
11
11
setup (name = 'pyclowder' ,
12
- version = '2.3.3 ' ,
12
+ version = '2.3.4 ' ,
13
13
packages = find_packages (),
14
14
description = 'Python SDK for the Clowder Data Management System' ,
15
15
long_description = description (),
You can’t perform that action at this time.
0 commit comments