Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner committed Jun 26, 2024
1 parent c27553a commit 2ee0337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ impl BuildContext {

/// Returns the platform part of the tag for the wheel name
pub fn get_platform_tag(&self, platform_tags: &[PlatformTag]) -> Result<String> {
if let Some(host_platform) = env::var("_PYTHON_HOST_PLATFORM").ok() {
if let Ok(host_platform) = env::var("_PYTHON_HOST_PLATFORM") {
return Ok(host_platform.replace(['.', '-'], "_"));
}

Expand Down

0 comments on commit 2ee0337

Please sign in to comment.