Gentoo Archives: gentoo-commits

From: Devan Franchini <twitch153@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/layman:gsoc2014 commit in: layman/layman_/
Date: Fri, 27 Jun 2014 04:08:00
Message-Id: 1403149797.205ed65a045a2905f79efd1f970c1e3d277929a3.twitch153@gentoo
1 commit: 205ed65a045a2905f79efd1f970c1e3d277929a3
2 Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 17 21:43:24 2014 +0000
4 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 19 03:49:57 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=205ed65a
7
8 layman_.py: Overrides default storage value for API
9
10 The default storage value will be overwritten upon initialization
11 of the LaymanAPI in order to respect the location reported by
12 repos.conf.
13
14 ---
15 layman/layman_/layman_.py | 1 +
16 1 file changed, 1 insertion(+)
17
18 diff --git a/layman/layman_/layman_.py b/layman/layman_/layman_.py
19 index 420cba0..b24f33f 100644
20 --- a/layman/layman_/layman_.py
21 +++ b/layman/layman_/layman_.py
22 @@ -142,6 +142,7 @@ class PyLayman(SyncBase):
23 'output': self.message,
24 'nocolor': self.settings.get('NOCOLOR'),
25 'root': self.settings.get('EROOT'),
26 + 'storage': self.repo.location.replace(self.repo.name, ''),
27 'verbose': self.settings.get('PORTAGE_VERBOSE'),
28 'width': self.settings.get('COLUMNWIDTH'),