lib/rbbt/persist.rb in rbbt-util-5.12.2 vs lib/rbbt/persist.rb in rbbt-util-5.12.3

- old
+ new

@@ -396,10 +396,10 @@ end begin lock_filename = Persist.persistence_path(path + '.persist', {:dir => Persist.lock_dir}) - Misc.lock lock_filename do |lockfile| + Misc.lock lock_filename do |lockfile| if is_persisted?(path, persist_options) Log.low "Persist up-to-date (suddenly): #{ path } - #{Misc.fingerprint persist_options}" return path if persist_options[:no_load] return load_file(path, type)