Skip to content

Commit

Permalink
remove the pip backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ripytide committed Sep 29, 2024
1 parent fe565e3 commit 1634250
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ impl MainArguments {
.ok_or(eyre!("getting the default pacdef config directory"))?
};

let config = Config::load(&config_dir).context("loading config file")?;
let config = Config::load(&config_dir).wrap_err("loading config file")?;
let groups =
Groups::load(&config_dir, &hostname, &config).context("failed to load groups")?;
Groups::load(&config_dir, &hostname, &config).wrap_err("failed to load groups")?;

if groups.is_empty() {
log::warn!("no group files found");
Expand Down
2 changes: 1 addition & 1 deletion src/groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl Groups {
}

for group_name in config.hostname_groups.get(hostname).wrap_err(format!(
"no hostname entry in hostname_groups config for the hostname: {hostname}"
"no hostname entry in the hostname_groups config for the hostname: {hostname}"
))? {
let mut group_file = group_dir.join(group_name);
group_file.set_extension("toml");
Expand Down

0 comments on commit 1634250

Please sign in to comment.