Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
Co-authored-by: Kenneth Hoste <kenneth.hoste@ugent.be>
  • Loading branch information
Flamefire and boegel authored Aug 18, 2020
1 parent 9956c30 commit 0f40683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/tools/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ def apply_patch(patch_file, dest, fn=None, copy=False, level=None, use_git_am=Fa
"""

if use_git_am:
_log.deprecated('5.0', "'use_git_am' named argument in apply_patch function has been renamed to 'use_git'")
_log.deprecated("'use_git_am' named argument in apply_patch function has been renamed to 'use_git'", '5.0')
use_git = True

if build_option('extended_dry_run'):
Expand Down

0 comments on commit 0f40683

Please sign in to comment.