Skip to content

Commit

Permalink
Hack to avoid warning about Downloads package (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Sep 24, 2024
1 parent f74bb95 commit 507270e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/JuliaInterface/gap/JuliaInterface.gi
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ InstallGlobalFunction( JuliaImportPackage, function( pkgname )
if JuliaEvalString( callstring ) = true then
return true;
else
# HACK: avoid warning "The Julia package 'Downloads' cannot be loaded"
# with older versions of the GAP PackageManager
if pkgname = "Downloads" then return false; fi;

Info( InfoWarning, 1,
"The Julia package '", pkgname, "' cannot be loaded." );
return false;
Expand Down

0 comments on commit 507270e

Please sign in to comment.