From: Thierry Parmentelat Date: Fri, 13 Jun 2008 13:57:01 +0000 (+0000) Subject: oops, undefined variable X-Git-Tag: PLCAPI-4.3-1~29 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=801d1c69ef9f19c5f2e439e261407d4d28892884;p=plcapi.git oops, undefined variable --- diff --git a/PLC/Methods/GetBootMedium.py b/PLC/Methods/GetBootMedium.py index 7449e4f..142185d 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