Fixup: File::from_parser_result() gets module now as well

This commit is contained in:
Matthias Beyer 2015-12-02 11:48:49 +01:00
parent 9a0cc75c6f
commit 0796d0ab36

View file

@ -181,7 +181,7 @@ impl StorageBackend {
fs.read_to_string(&mut s); fs.read_to_string(&mut s);
debug!("Success reading file with id '{}'", id); debug!("Success reading file with id '{}'", id);
debug!("Parsing to internal structure now"); debug!("Parsing to internal structure now");
p.read(s).and_then(|(h, d)| Ok(File::from_parser_result(id, h, d))).ok() p.read(s).and_then(|(h, d)| Ok(File::from_parser_result(m, id.clone(), h, d))).ok()
} else { } else {
debug!("No file with id '{}'", id); debug!("No file with id '{}'", id);
None None