From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> Date: Fri, 13 Jun 2008 14:00:10 +0000 (+0000) Subject: merging checngeset 9561 into 4.2 branches for {one,planet}lab X-Git-Tag: PLCAPI-4.2-9~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=40fb47669319d24666f5bcb8a38bcccb92f037ef;p=plcapi.git merging checngeset 9561 into 4.2 branches for {one,planet}lab --- diff --git a/PLC/Methods/GetBootMedium.py b/PLC/Methods/GetBootMedium.py index 0c62d147..a211030a 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