Revision: 969
Author:
menn...@debian.org
Date: Fri Jun 19 17:35:01 2015 UTC
Log: 'wfrog -S' failed when /etc/wfrog/settings.yaml was empty.
See debian bug 717328
https://code.google.com/p/wfrog/source/detail?r=969
Modified:
/trunk/wflogger/setup.py
=======================================
--- /trunk/wflogger/setup.py Fri Mar 25 19:45:58 2011 UTC
+++ /trunk/wflogger/setup.py Fri Jun 19 17:35:01 2015 UTC
@@ -37,7 +37,7 @@
defs = yaml.load( file(settings_def_file, 'r') )
if source_file is not None:
source = yaml.load( file(source_file, 'r') )
- else:
+ if source == None:
source = {}
target = {}
try: