skorper commented on a change in pull request #125:
URL:
https://github.com/apache/incubator-sdap-nexus/pull/125#discussion_r610025874
##########
File path: analysis/webservice/algorithms/doms/DomsInitialization.py
##########
@@ -47,6 +47,10 @@ def init(self, config):
cassDatacenter = domsconfig.get("cassandra", "local_datacenter")
cassVersion = int(domsconfig.get("cassandra", "protocol_version"))
cassPolicy = domsconfig.get("cassandra", "dc_policy")
+ try:
+ cassCreateKeyspaceGranted = domsconfig.get("cassandra",
"create_keyspace_granted")
+ except NoOptionError:
Review comment:
@twnone This line caused errors when running my test, but seemed to work
when I changed it to
```suggestion
except configparser.NoOptionError:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]