From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EEEF2139082 for ; Thu, 16 Feb 2017 03:09:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A83AEE0C2A; Thu, 16 Feb 2017 03:09:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 824B1E0C21 for ; Thu, 16 Feb 2017 03:09:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FCEA34155D for ; Thu, 16 Feb 2017 03:09:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E2424960 for ; Thu, 16 Feb 2017 03:09:29 +0000 (UTC) From: "Devan Franchini" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Devan Franchini" Message-ID: <1487214214.62e968d5456f773042d66456c4f87334c3d48709.twitch153@gentoo> Subject: [gentoo-commits] proj/webapp-config:master commit in: WebappConfig/ X-VCS-Repository: proj/webapp-config X-VCS-Files: WebappConfig/db.py X-VCS-Directories: WebappConfig/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: 62e968d5456f773042d66456c4f87334c3d48709 X-VCS-Branch: master Date: Thu, 16 Feb 2017 03:09:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 08a3b52c-8874-40ec-81da-c17511f17405 X-Archives-Hash: a31bd11fd79f67675a07b9401b05a75b commit: 62e968d5456f773042d66456c4f87334c3d48709 Author: Devan Franchini gentoo org> AuthorDate: Thu Feb 16 02:48:17 2017 +0000 Commit: Devan Franchini gentoo org> CommitDate: Thu Feb 16 03:03:34 2017 +0000 URL: https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=62e968d5 db.py: Uses EPREFIX variable X-Gentoo-Bug: 608018 X-Gentoo-Bug-URL: https://bugs.gentoo.org/608018 WebappConfig/db.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/WebappConfig/db.py b/WebappConfig/db.py index 0fbd34a..698c49a 100644 --- a/WebappConfig/db.py +++ b/WebappConfig/db.py @@ -26,6 +26,7 @@ import time, os, os.path, re import WebappConfig.wrapper as wrapper from WebappConfig.debug import OUT +from WebappConfig.eprefix import EPREFIX from WebappConfig.permissions import PermissionMap @@ -166,7 +167,7 @@ class WebappDB(AppHierarchy): def __init__(self, fs_root = '/', - root = '/var/db/webapps', + root = EPREFIX + '/var/db/webapps', category = '', package = '', version = '', @@ -416,8 +417,8 @@ class WebappSource(AppHierarchy): ''' def __init__(self, - fs_root = '/', - root = '/usr/share/webapps', + fs_root = EPREFIX + '/', + root = EPREFIX + '/usr/share/webapps', category = '', package = '', version = '',