summaryrefslogtreecommitdiffstats
path: root/jenkins_jobs/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins_jobs/cache.py')
-rw-r--r--jenkins_jobs/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins_jobs/cache.py b/jenkins_jobs/cache.py
index 01769295..62621b56 100644
--- a/jenkins_jobs/cache.py
+++ b/jenkins_jobs/cache.py
@@ -59,7 +59,7 @@ class JobCache(object):
self.data = {}
else:
with io.open(self.cachefilename, "r", encoding="utf-8") as yfile:
- self.data = yaml.load(yfile)
+ self.data = yaml.safe_load(yfile)
logger.debug("Using cache: '{0}'".format(self.cachefilename))
def _lock(self):