mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-04 03:55:19 +08:00
Add build type debug messages
This commit is contained in:
parent
60243d71b1
commit
811fb177d0
1 changed files with 2 additions and 0 deletions
|
@ -145,6 +145,7 @@ def move_audience_files(audience):
|
|||
)
|
||||
for file in guessed_files:
|
||||
new_file = file.replace(possible_non_used_path, "_private_")
|
||||
print("Moving {} to {}".format(file, new_file))
|
||||
os.rename(file, new_file)
|
||||
elif audience == "public":
|
||||
possible_non_used_path = "_private_"
|
||||
|
@ -156,6 +157,7 @@ def move_audience_files(audience):
|
|||
possible_non_used_path,
|
||||
"_NOUSE{}".format(possible_non_used_path),
|
||||
)
|
||||
print("Moving {} to {}".format(file, new_file))
|
||||
os.rename(file, new_file)
|
||||
else:
|
||||
raise "Bogus audience"
|
||||
|
|
Loading…
Add table
Reference in a new issue