From 7ad5cf9b1620a3715aa7e9c9b0117fca1d96e669 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 13 Jun 2008 14:00:10 +0000 Subject: [PATCH] merging checngeset 9561 into 4.2 branches for {one,planet}lab --- PLC/Methods/GetBootMedium.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Methods/GetBootMedium.py b/PLC/Methods/GetBootMedium.py index 202614d..bd283ca 100644 --- a/PLC/Methods/GetBootMedium.py +++ b/PLC/Methods/GetBootMedium.py @@ -354,9 +354,9 @@ class GetBootMedium(Method): if filedir: if not os.path.exists(filedir): try: - os.makedirs (dirname,0777) + os.makedirs (filedir,0777) except: - raise PLCPermissionDenied, "Could not create dir %s"%dirname + raise PLCPermissionDenied, "Could not create dir %s"%filedir ### generic media -- 2.43.0