Module: check_mk
Branch: master
Commit: f4f73851aba9cfe2cd68f88fe7e7afffee08e262
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f4f73851aba9cf…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue May 8 18:52:45 2012 +0200
FIX: fix missing variable curdir in lib.py
---
web/htdocs/lib.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/lib.py b/web/htdocs/lib.py
index f59c3b3..fa5a58f 100644
--- a/web/htdocs/lib.py
+++ b/web/htdocs/lib.py
@@ -88,7 +88,7 @@ def make_nagios_directories(name):
# be happy if someone already created the path
if e.errno != errno.EEXIST:
raise
- if tail == curdir: # xxx/newdir/. exists if xxx/newdir exists
+ if tail == ".": # xxx/newdir/. exists if xxx/newdir exists
return
make_nagios_directory(name)