Skip to content

Commit

Permalink
will it blend?
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Jan 2, 2025
1 parent acbf25f commit d0186ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mitmproxy-rs/src/process_info.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::path::{Path, PathBuf};

use anyhow::Result;
use pyo3::IntoPyObjectExt;

Check warning on line 4 in mitmproxy-rs/src/process_info.rs

View workflow job for this annotation

GitHub Actions / test (macos-latest, 1.80, --exclude mitmproxy-linux-ebpf)

unused import: `pyo3::IntoPyObjectExt`

Check warning on line 4 in mitmproxy-rs/src/process_info.rs

View workflow job for this annotation

GitHub Actions / test (ubuntu-22.04, 1.80, --exclude mitmproxy-linux-ebpf)

unused import: `pyo3::IntoPyObjectExt`

Check warning on line 4 in mitmproxy-rs/src/process_info.rs

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, stable, --exclude mitmproxy-linux-ebpf)

unused import: `pyo3::IntoPyObjectExt`

Check warning on line 4 in mitmproxy-rs/src/process_info.rs

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, nightly, --package mitmproxy-linux-ebpf)

unused import: `pyo3::IntoPyObjectExt`
use pyo3::prelude::*;

#[cfg(any(windows, target_os = "macos", target_os = "linux"))]
Expand Down Expand Up @@ -71,7 +72,7 @@ pub fn executable_icon(path: PathBuf) -> Result<PyObject> {
#[cfg(any(windows, target_os = "macos"))]
{
let mut icon_cache = processes::ICON_CACHE.lock().unwrap();
icon_cache.get_png(path)
Ok(icon_cache.get_png(path)?)

Check failure on line 75 in mitmproxy-rs/src/process_info.rs

View workflow job for this annotation

GitHub Actions / test (macos-latest, 1.80, --exclude mitmproxy-linux-ebpf)

`?` operator has incompatible types
}
#[cfg(not(any(windows, target_os = "macos")))]
Err(pyo3::exceptions::PyNotImplementedError::new_err(
Expand Down

0 comments on commit d0186ab

Please sign in to comment.