diff options
author | Devan Franchini <twitch153@gentoo.org> | 2014-06-10 18:12:35 -0400 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2014-06-14 20:36:39 -0400 |
commit | be9e55df8c896cd8d7a4093fd8e440cf8c79c2b6 (patch) | |
tree | 57a4882c82f3fb71fcf1ae339c895ac6c47a12df /layman/api.py | |
parent | Various syntax fixes (diff) | |
download | layman-be9e55df8c896cd8d7a4093fd8e440cf8c79c2b6.tar.gz layman-be9e55df8c896cd8d7a4093fd8e440cf8c79c2b6.tar.bz2 layman-be9e55df8c896cd8d7a4093fd8e440cf8c79c2b6.zip |
Replaces "subpath" with "branch"
In favor of a more widely used varaible, the subpath variable has
been replaced with branch. In preparation for branch support in
overlay.xml files.
layman.8.txt: An example of an overlay.xml with a branch in it has
been added for users along with pointers to using the variable.
Diffstat (limited to 'layman/api.py')
-rwxr-xr-x | layman/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layman/api.py b/layman/api.py index 1d50adf..a86970f 100755 --- a/layman/api.py +++ b/layman/api.py @@ -236,7 +236,7 @@ class LaymanAPI(object): 'irc': overlay.irc, 'description': overlay.description, 'feeds': overlay.feeds, - 'sources': [(e.src, e.type, e.subpath) \ + 'sources': [(e.src, e.type, e.branch) \ for e in overlay.sources], #'src_uris': [e.src for e in overlay.sources], 'src_uris': overlay.source_uris(), |