remove debugs

This commit is contained in:
2021-09-29 16:56:18 +10:00
parent 1685308430
commit 592b283ceb

View File

@@ -444,7 +444,6 @@ def SettingsRBPath():
##############################################################################
def ProcessRecycleBinDir(job):
path = SettingsRBPath()
print( f"here1: {path}" )
if not os.path.exists( path ):
AddLogForJob( job, f"Not Importing {path} -- Path does not exist" )
return
@@ -452,7 +451,6 @@ def ProcessRecycleBinDir(job):
ptype = session.query(PathType).filter(PathType.name=='Bin').first()
# check/create if needed
symlink=CreateSymlink(job,ptype.id,path)
print( f"here2: {path}, s={symlink}" )
# create the Path (and Dir objects for the Bin)
AddPath( job, symlink, ptype.id )
return
@@ -1011,7 +1009,8 @@ def MoveFileToRecycleBin(job,del_me):
# moves the file into the folder on the FS and then changes the database path to the relevant Storage path
####################################################################################################################################
def MoveFileToNewFolderInStorage(job,move_me, dst_storage_path, dst_rel_path):
print( f"MoveFileToNewFolderInStorage: {move_me} to {dst_storage_path} in new? folder: {dst_storage_path}")
if DEBUG:
print( f"MoveFileToNewFolderInStorage: {move_me} to {dst_storage_path} in new? folder: {dst_storage_path}")
try:
dst_dir=dst_storage_path.path_prefix + '/' + dst_rel_path
if DEBUG: