You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if os.path.isfile(f):
logger.debug("Parsing include (%s:%d): %s",
filename, lineno, f)
c.extend(recursive_preprocess(f))
else:
logger.warning("%s is not a regular file, "
"skipping (%s:%d).", f, filename,
lineno)
Will give the error if, for example, it cannot access the file due to not having permissions to the directory the file is in. Need a better set of checks and error messages. try/open/except maybe?
The text was updated successfully, but these errors were encountered:
This bit of code:
Will give the error if, for example, it cannot access the file due to not having permissions to the directory the file is in. Need a better set of checks and error messages. try/open/except maybe?
The text was updated successfully, but these errors were encountered: