commit: 205ed65a045a2905f79efd1f970c1e3d277929a3 Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org> AuthorDate: Tue Jun 17 21:43:24 2014 +0000 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org> CommitDate: Thu Jun 19 03:49:57 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=205ed65a
layman_.py: Overrides default storage value for API The default storage value will be overwritten upon initialization of the LaymanAPI in order to respect the location reported by repos.conf. --- layman/layman_/layman_.py | 1 + 1 file changed, 1 insertion(+) diff --git a/layman/layman_/layman_.py b/layman/layman_/layman_.py index 420cba0..b24f33f 100644 --- a/layman/layman_/layman_.py +++ b/layman/layman_/layman_.py @@ -142,6 +142,7 @@ class PyLayman(SyncBase): 'output': self.message, 'nocolor': self.settings.get('NOCOLOR'), 'root': self.settings.get('EROOT'), + 'storage': self.repo.location.replace(self.repo.name, ''), 'verbose': self.settings.get('PORTAGE_VERBOSE'), 'width': self.settings.get('COLUMNWIDTH'),