public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Devan Franchini" <twitch153@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/layman:gsoc2014 commit in: layman/overlays/
Date: Fri, 15 Aug 2014 22:32:38 +0000 (UTC)	[thread overview]
Message-ID: <1408138962.aa264e4ef3c620f2dae3f8b3bccf38574412742c.twitch153@gentoo> (raw)

commit:     aa264e4ef3c620f2dae3f8b3bccf38574412742c
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  1 21:13:42 2014 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Fri Aug 15 21:42:42 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=aa264e4e

overlay.py: Adds self.ovl_type

To allow a stub function to tell the user the current overlay type
of the unsupported overlay, this variable will be passed in along
with the parent variable.

---
 layman/overlays/overlay.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py
index ee2c279..bc57e2e 100755
--- a/layman/overlays/overlay.py
+++ b/layman/overlays/overlay.py
@@ -101,6 +101,7 @@ class Overlay(object):
         def create_overlay_source(source_elem):
             _branch = ''
             _type = source_elem.attrib['type']
+            self.ovl_type = _type
             if 'branch' in source_elem.attrib:
                 _branch = source_elem.attrib['branch']
 
@@ -215,6 +216,7 @@ class Overlay(object):
 
         def create_dict_overlay_source(source_):
             _src, _type, _sub = source_
+            self.ovl_type = _type
             try:
                 _class = self.module_controller.get_class(_type)
             except InvalidModuleName:


             reply	other threads:[~2014-08-15 22:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-15 22:32 Devan Franchini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-08-15 22:32 [gentoo-commits] proj/layman:gsoc2014 commit in: layman/overlays/ Devan Franchini
2014-06-27  4:07 Devan Franchini
2014-06-16  3:40 [gentoo-commits] proj/layman:master " Brian Dolbec
2014-06-16  3:37 ` [gentoo-commits] proj/layman:gsoc2014 " Brian Dolbec
2014-06-16  3:40 [gentoo-commits] proj/layman:master " Brian Dolbec
2014-06-16  3:37 ` [gentoo-commits] proj/layman:gsoc2014 " Brian Dolbec
2014-06-16  3:37 Brian Dolbec
2014-06-16  3:37 Brian Dolbec
2014-06-16  3:37 Brian Dolbec
2014-06-16  3:37 Brian Dolbec
2014-06-16  3:37 Brian Dolbec
2014-06-16  3:37 Brian Dolbec
2014-06-16  3:37 Brian Dolbec
2014-05-14 23:49 Devan Franchini
2014-05-14 17:32 Devan Franchini
2014-05-14  1:14 Devan Franchini
2014-05-14  0:42 Devan Franchini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1408138962.aa264e4ef3c620f2dae3f8b3bccf38574412742c.twitch153@gentoo \
    --to=twitch153@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox