diff options
Diffstat (limited to 'jenkins_jobs/cache.py')
-rw-r--r-- | jenkins_jobs/cache.py | 2 |
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): |