commit 23a534b9f5f5aad2a95349f809e05cb9b6429f3c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Feb 21 15:28:23 2020 +0000
Implement "realpath" to retrieve the real absolute path
This function will call "os.path.realpth" and this in turn could call
"os.getcwd". If the current path has been deleted by other application,
this method will raise FileNotFoundError exception. This new function
catches and unsets this exception, returning an empty string.
Reviewed: https:/ /review. opendev. org/708936 /git.openstack. org/cgit/ openstack/ oslo.rootwrap/ commit/ ?id=23a534b9f5f 5aad2a95349f809 e05cb9b6429f3c
Committed: https:/
Submitter: Zuul
Branch: master
commit 23a534b9f5f5aad 2a95349f809e05c b9b6429f3c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Feb 21 15:28:23 2020 +0000
Implement "realpath" to retrieve the real absolute path
This function will call "os.path.realpth" and this in turn could call
"os.getcwd". If the current path has been deleted by other application,
this method will raise FileNotFoundError exception. This new function
catches and unsets this exception, returning an empty string.
Change-Id: If70411d8d189de 4a020e528cd5441 2a5678cfab9
Closes-Bug: #1864090