From 058694c27413662b7e1a796834d3424975902ee1 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Fri, 9 Nov 2007 18:37:21 +0000 Subject: * bug fix: webapp-config-1.50.16 errors out during uninstall htdocs is a symlink (Gentoo bug #181938) svn path=/trunk/webapp-config/; revision=56 --- WebappConfig/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebappConfig') diff --git a/WebappConfig/server.py b/WebappConfig/server.py index 4fd173b..7bdc2c5 100644 --- a/WebappConfig/server.py +++ b/WebappConfig/server.py @@ -161,7 +161,7 @@ class Basic: # is the installation directory empty? - if not os.listdir(self.__destd): + if not os.listdir(self.__destd) and os.path.isdir(self.__destd): if not self.__p: os.rmdir(self.__destd) else: -- cgit v1.2.3-65-gdbad