mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Also check for boolean True, not just string 'True' when evaluating conditional dependencies.
When people know how actual yaml works they might have
galaxy:
watch_tools: true
as their config. Which signifies an actual Boolean value. This should be considered by the script as well.
This commit is contained in:
@@ -180,7 +180,7 @@ class ConditionalDependencies(object):
|
||||
return 'irods' in self.object_stores
|
||||
|
||||
def check_watchdog(self):
|
||||
install_set = {'auto', 'True', 'true', 'polling'}
|
||||
install_set = {'auto', 'True', 'true', 'polling', True}
|
||||
return (self.config['watch_tools'] in install_set or
|
||||
self.config['watch_tool_data_dir'] in install_set)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user