Save storepath in extra variable

This commit is contained in:
Matthias Beyer 2015-11-28 13:03:54 +01:00
parent 8a2c41ea22
commit 1038880de9

View file

@ -233,8 +233,9 @@ impl StorageBackend {
fn build_filepath_with_id(&self, owner: &Module, id: FileID) -> String { fn build_filepath_with_id(&self, owner: &Module, id: FileID) -> String {
debug!("Building filepath with id"); debug!("Building filepath with id");
debug!(" basepath: '{}'", self.basepath); debug!(" basepath: '{}'", self.basepath);
debug!(" storepath: '{}'", self.storepath);
debug!(" id : '{}'", id); debug!(" id : '{}'", id);
self.basepath.clone() + owner.name() + "-" + &id[..] + ".imag" self.storepath.clone() + owner.name() + "-" + &id[..] + ".imag"
} }
} }