Skip to content

Commit

Permalink
g.extention: if copied files exists do not print warning message (#3053)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Jun 19, 2023
1 parent cc51b08 commit c335424
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/g.extension/g.extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -2152,6 +2152,8 @@ def check_style_file(name):

try:
shutil.copyfile(dist_file, addons_file)
except shutil.SameFileError:
pass
except OSError as error:
grass.warning(
_(
Expand Down

0 comments on commit c335424

Please sign in to comment.