From be9e55df8c896cd8d7a4093fd8e440cf8c79c2b6 Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Tue, 10 Jun 2014 18:12:35 -0400 Subject: 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. --- layman/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layman/api.py') 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(), -- cgit v1.2.3-65-gdbad