Skip to content

Commit 26231b7

Browse files
committed
chore(copy): remove unnecessary info log for rsync exclude_from
Removes the redundant `logging.info()` statement in the rsync exclusion branch of the copy primitive to keep logging output minimal and consistent with other primitives.
1 parent 29ddc69 commit 26231b7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

hpccm/primitives/copy.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,6 @@ def __str__(self):
202202
else:
203203
logging.warning(msg)
204204

205-
# If exclusion list is defined, switch to rsync copy method
206-
if self.__exclude_from:
207-
logging.info('copy: using rsync with exclude-from %s', self.__exclude_from)
208-
209205
# Format:
210206
# %files
211207
# src1 dest

0 commit comments

Comments
 (0)