CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)

- added extra comment
This commit is contained in:
James 2011-11-09 13:35:22 -05:00
parent 6c740effde
commit 32743ca780
1 changed files with 2 additions and 1 deletions

View File

@ -274,7 +274,8 @@ class AirtimeProcessEvent(ProcessEvent):
# check if file exist
# When whole directory is copied to the organized dir,
# inotify doesn't fire IN_CLOSE_WRITE, hench we need special way of
# handling those cases.
# handling those cases. We are manully calling handle_created_file
# function.
if os.path.exists(k):
# check if file is open
command = "lsof "+k