mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-05 20:44:51 +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:
|
for file in guessed_files:
|
||||||
new_file = file.replace(possible_non_used_path, "_private_")
|
new_file = file.replace(possible_non_used_path, "_private_")
|
||||||
|
print("Moving {} to {}".format(file, new_file))
|
||||||
os.rename(file, new_file)
|
os.rename(file, new_file)
|
||||||
elif audience == "public":
|
elif audience == "public":
|
||||||
possible_non_used_path = "_private_"
|
possible_non_used_path = "_private_"
|
||||||
|
@ -156,6 +157,7 @@ def move_audience_files(audience):
|
||||||
possible_non_used_path,
|
possible_non_used_path,
|
||||||
"_NOUSE{}".format(possible_non_used_path),
|
"_NOUSE{}".format(possible_non_used_path),
|
||||||
)
|
)
|
||||||
|
print("Moving {} to {}".format(file, new_file))
|
||||||
os.rename(file, new_file)
|
os.rename(file, new_file)
|
||||||
else:
|
else:
|
||||||
raise "Bogus audience"
|
raise "Bogus audience"
|
||||||
|
|
Loading…
Add table
Reference in a new issue