commit: b5e16c46fd286a3df26923366dd2c4b0a4acaa9f Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org> AuthorDate: Wed Jun 11 18:43:08 2014 +0000 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> CommitDate: Sun Jun 15 00:36:41 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=b5e16c46
{cvs, tar}.py: Fixes assignment for self.branch Fixes commit: fix undefined 'subpath', update tests SHA:0fde69e7ef993c3e5cca925cef35c8c895cfd834 Author: dol-sen <brian.dolbec <AT> gmail.com> Date: Sat 23 Jul 2011 02:44:26 AM EDT Fixes commit: removal of xml from the vcs class parameters. SHA: ba5f0cd5c948bb7a65ab21008c940caf0fbe38e7 Author: Brian Dolbec <brian.dolbec <AT> gmail.com> Date: Thu 24 Feb 2011 01:49:58 AM EST --- layman/overlays/cvs.py | 2 +- layman/overlays/tar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layman/overlays/cvs.py b/layman/overlays/cvs.py index a8c6abb..70638e3 100644 --- a/layman/overlays/cvs.py +++ b/layman/overlays/cvs.py @@ -47,7 +47,7 @@ class CvsOverlay(OverlaySource): def __init__(self, parent, config, _location, ignore = 0): super(CvsOverlay, self).__init__(parent, config, _location, ignore) - self.branch = None + self.branch = self.parent.branch def add(self, base): diff --git a/layman/overlays/tar.py b/layman/overlays/tar.py index 884d527..acbeece 100644 --- a/layman/overlays/tar.py +++ b/layman/overlays/tar.py @@ -93,7 +93,7 @@ class TarOverlay(OverlaySource): self.output = config['output'] self.proxies = config.proxies - self.branch = None + self.branch = self.parent.branch def _extract(self, base, tar_url, dest_dir):