Commit 8f324ece authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

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.
parent b71a4c5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)