[wfrog] r969 committed - 'wfrog -S' failed when /etc/wfrog/settings.yaml was empty....

1 view
Skip to first unread message

wf...@googlecode.com

unread,
Jun 19, 2015, 1:35:22 PM6/19/15
to wfrog-a...@googlegroups.com
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:
Reply all
Reply to author
Forward
0 new messages