aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2014-06-10 18:12:35 -0400
committerDevan Franchini <twitch153@gentoo.org>2014-06-14 20:36:39 -0400
commitbe9e55df8c896cd8d7a4093fd8e440cf8c79c2b6 (patch)
tree57a4882c82f3fb71fcf1ae339c895ac6c47a12df /layman/api.py
parentVarious syntax fixes (diff)
downloadlayman-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-xlayman/api.py2
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(),