summaryrefslogtreecommitdiff
path: root/bin/core/imag-store
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-10-31 15:47:43 +0100
committerGitHub <noreply@github.com>2017-10-31 15:47:43 +0100
commit2d94be583180e4f8025e2aa1d2120b2ba925c41c (patch)
tree78515adccdc10cce12fec023dd5b3ff535d97d24 /bin/core/imag-store
parent429194b5d05cc8bca93e1c33ab2c374b33a9ca40 (diff)
parentf82ad2b6d1db3dbc84e1af4a2a4dabf23e31b1cc (diff)
downloadimag-2d94be583180e4f8025e2aa1d2120b2ba925c41c.zip
imag-2d94be583180e4f8025e2aa1d2120b2ba925c41c.tar.gz
Merge pull request #1144 from matthiasbeyer/minor
Minor
Diffstat (limited to 'bin/core/imag-store')
-rw-r--r--bin/core/imag-store/Cargo.toml6
-rw-r--r--bin/core/imag-store/src/retrieve.rs2
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/core/imag-store/Cargo.toml b/bin/core/imag-store/Cargo.toml
index feee3a6..ad3c207 100644
--- a/bin/core/imag-store/Cargo.toml
+++ b/bin/core/imag-store/Cargo.toml
@@ -13,6 +13,12 @@ documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.h
repository = "https://github.com/matthiasbeyer/imag"
homepage = "http://imag-pim.org"
+[badges]
+travis-ci = { repository = "matthiasbeyer/imag" }
+is-it-maintained-issue-resolution = { repository = "matthiasbeyer/imag" }
+is-it-maintained-open-issues = { repository = "matthiasbeyer/imag" }
+maintenance = { status = "actively-developed" }
+
[dependencies]
clap = ">=2.17"
log = "0.3"
diff --git a/bin/core/imag-store/src/retrieve.rs b/bin/core/imag-store/src/retrieve.rs
index 5c664f9..905fe98 100644
--- a/bin/core/imag-store/src/retrieve.rs
+++ b/bin/core/imag-store/src/retrieve.rs
@@ -35,7 +35,7 @@ pub fn retrieve(rt: &Runtime) {
let id = scmd.value_of("id").unwrap();
let path = PathBuf::from(id);
let store = Some(rt.store().path().clone());
- let path = try!(StoreId::new(store, path).map_err_trace_exit(1));
+ let path = StoreId::new(store, path).map_err_trace_exit(1)?;
debug!("path = {:?}", path);
rt.store()