diff options
author | Yorhel <git@yorhel.nl> | 2016-11-27 10:59:31 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2016-11-27 10:59:31 +0100 |
commit | 1ca0cd432580f390d0fa0aa2b05cc53b2c7b5826 (patch) | |
tree | 97a29a8607427b086762a6e68bba124e50548c06 | |
parent | b79ecfb284d57f18c864b905fa5f96905bec5366 (diff) |
Indexer: Remove pointless check
-rw-r--r-- | indexer/src/sys_deb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/src/sys_deb.rs b/indexer/src/sys_deb.rs index 82facaf..5ac0cdf 100644 --- a/indexer/src/sys_deb.rs +++ b/indexer/src/sys_deb.rs @@ -27,7 +27,7 @@ fn get_contents(f: Option<open::Path>) -> Result<HashSet<String>> { let mut it = line.split(' '); let pkg = it.next_back().unwrap(); - if !pkg.contains('/') || pkg == "LOCATION" { + if !pkg.contains('/') { continue; } filecnt += 1; |