diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-05-29 15:10:32 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-05-29 15:10:32 +0000 |
commit | 4376e48cd2e346a1726a82b08d6811c6d4ed0608 (patch) | |
tree | 8ecc7b62de00d41f1ec99617756b4cb6bae1c163 | |
parent | 1dcfea59be46c5179bcbab235786abe52511ec2d (diff) | |
download | bcfg2-4376e48cd2e346a1726a82b08d6811c6d4ed0608.tar.gz bcfg2-4376e48cd2e346a1726a82b08d6811c6d4ed0608.tar.bz2 bcfg2-4376e48cd2e346a1726a82b08d6811c6d4ed0608.zip |
Packages: Make cache directory creation recursive
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5261 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | src/lib/Server/Plugins/Packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py index 46178e088..0c7544415 100644 --- a/src/lib/Server/Plugins/Packages.py +++ b/src/lib/Server/Plugins/Packages.py @@ -311,7 +311,7 @@ class Packages(Bcfg2.Server.Plugin.Plugin, self.sentinels = set() if not os.path.exists(cachepath): # create cache directory if needed - os.mkdir(cachepath) + os.makedirs(cachepath) xdata = lxml.etree.parse(self.data + '/config.xml').getroot() self.sources = [] for s in xdata.findall('APTSource'): |