Skip to content

Commit 0418fda

Browse files
committed
Fix: Full and incr were switched
1 parent fe8f7c5 commit 0418fda

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/list_backup_counts.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
for file_backup in file_backups:
1515

1616
if file_backup["incremental"]>0:
17-
full_file+=1
18-
else:
1917
incr_file+=1
18+
else:
19+
full_file+=1
2020

2121
incr_image = 0
2222
full_image = 0
@@ -29,9 +29,9 @@
2929
continue
3030

3131
if image_backup["incremental"]>0:
32-
full_image+=1
33-
else:
3432
incr_image+=1
33+
else:
34+
full_image+=1
3535

3636
print("Client {clientname} in group {groupname} has {incr_file} incr file backups, {full_file} "
3737
"full file backups, {incr_image} incr image backups and "

0 commit comments

Comments
 (0)