lib/openwfe/storage/yamlfilestorage.rb in openwferu-0.9.15 vs lib/openwfe/storage/yamlfilestorage.rb in openwferu-0.9.16
- old
+ new
@@ -82,10 +82,12 @@
# Stores an object with its FlowExpressionId instance as its key.
#
def []= (fei, object)
synchronize do
+ #linfo { "[]= #{fei}" }
+
fei_path = compute_file_path(fei)
fei_parent_path = File.dirname(fei_path)
FileUtils.makedirs(fei_parent_path) \
@@ -193,10 +195,10 @@
#
# Passes each object path to the given block
#
def each_object_path (&block)
- return unless block
+ #return unless block
synchronize do
Find.find(@basepath) do |path|
next unless File.exist? path