Message17101
Logged In: YES
user_id=824995
Recommend closing this bug as the vagueness lies in the
documentation. Alternatively, return an error if the path
provided is not an abspath. Either way the documentation
should be updated.
The library routines os.path.isdir() and os.path.isfile()
require that the path argument be an abspath. In the
absence of an abspath they use the cwd as the pbase path and
prepend it to the data found with the os.listdir() request.
Hence it works for the first case I tried bu not the
second, yet it doesnt complain.
Thanks for your rapid response. Checking into the questions
asked led to the solution.
Regards
Dick |
|
Date |
User |
Action |
Args |
2007-08-23 14:14:56 | admin | link | issue773286 messages |
2007-08-23 14:14:56 | admin | create | |
|