Skip to content

Commit

Permalink
Use InfoRead in ReadAsFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Pfeiffer committed Mar 4, 2018
1 parent 5b07667 commit 9600511
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/files.gi
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,15 @@ end );
InstallMethod( ReadAsFunction,
"string",
[ IsString ],
name -> READ_AS_FUNC( UserHomeExpand( name ) ) );
function(name)
local success;

Info(InfoRead, 5, "ReadAsFunction(\"", name, "\")");
success := READ_AS_FUNC( UserHomeExpand( name ) );
Info(InfoRead, 5, "ReadAsFunction(\"", name, "\") done");

return success;
end);

#############################################################################
##
Expand Down

0 comments on commit 9600511

Please sign in to comment.