Add code to disable pycache and fix imports
Changes:
- added cosmetic logging of YAML file path
- added code to disable pycache
- add manager_id default in ENV YAML
Tested:
- Ran on the local sandbox with the changes
Change-Id: I41874becb1d57966f9d61783187332319a415838
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/ffdc_collector.py b/ffdc/ffdc_collector.py
index 7d51c7c..6cde65b 100644
--- a/ffdc/ffdc_collector.py
+++ b/ffdc/ffdc_collector.py
@@ -16,6 +16,9 @@
import yaml
+sys.dont_write_bytecode = True
+
+
script_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(script_dir)
# Walk path and append to sys.path