commit: af52e7cfec44828b3722f484f3ed4c0ee4fd22d8 Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org> AuthorDate: Thu Feb 16 03:02:44 2017 +0000 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org> CommitDate: Thu Feb 16 03:03:45 2017 +0000 URL: https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=af52e7cf
server.py: Uses EPREFIX variable X-Gentoo-Bug: 608018 X-Gentoo-Bug-URL: https://bugs.gentoo.org/608018 WebappConfig/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WebappConfig/server.py b/WebappConfig/server.py index ec9c141..4c3b571 100644 --- a/WebappConfig/server.py +++ b/WebappConfig/server.py @@ -22,6 +22,7 @@ import os, os.path from WebappConfig.debug import OUT +from WebappConfig.eprefix import EPREFIX from WebappConfig.worker import WebappRemove, WebappAdd from WebappConfig.permissions import get_group, get_user @@ -195,7 +196,7 @@ class Basic: dir = self.__destd dirs = [] - while dir != '/': + while dir != EPREFIX + '/': dirs.insert(0, dir) dir = os.path.dirname(dir)