summaryrefslogtreecommitdiff
path: root/synctl
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2020-07-14 17:34:48 +0200
committerAndrej Shadura <andrewsh@debian.org>2020-07-14 17:34:48 +0200
commit16f1d7d5fb08f51a3547391873b481d40b4b8c92 (patch)
tree6f83320fb583ba0b8b4adfc3fc03b946901d7ece /synctl
parent5c1041a8f06afe64946fb5ca055a3f20b6378556 (diff)
New upstream version 1.17.0
Diffstat (limited to 'synctl')
-rwxr-xr-xsynctl3
1 files changed, 2 insertions, 1 deletions
diff --git a/synctl b/synctl
index ca398b84..9395ebd0 100755
--- a/synctl
+++ b/synctl
@@ -239,7 +239,8 @@ def main():
for config_file in config_files:
with open(config_file) as file_stream:
yaml_config = yaml.safe_load(file_stream)
- config.update(yaml_config)
+ if yaml_config is not None:
+ config.update(yaml_config)
pidfile = config["pid_file"]
cache_factor = config.get("synctl_cache_factor")