Gentoo Archives: gentoo-commits

From: Devan Franchini <twitch153@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/layman:master commit in: layman/overlays/modules/tar/
Date: Sun, 28 Sep 2014 23:38:14
Message-Id: 1411934351.411135791c4194d61a815277a66f6e718b474814.twitch153@gentoo
1 commit: 411135791c4194d61a815277a66f6e718b474814
2 Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 28 19:59:11 2014 +0000
4 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 28 19:59:11 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=41113579
7
8 tar.py: fixes closing in iterable file extension list
9
10 ---
11 layman/overlays/modules/tar/tar.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/layman/overlays/modules/tar/tar.py b/layman/overlays/modules/tar/tar.py
15 index ff6a9f0..9920dd8 100644
16 --- a/layman/overlays/modules/tar/tar.py
17 +++ b/layman/overlays/modules/tar/tar.py
18 @@ -60,7 +60,7 @@ class TarOverlay(ArchiveOverlay):
19 @rtype str
20 '''
21 ext = '.tar.noidea'
22 - for i in [('tar.%s' % e) for e in FILE_EXTENSIONS[self.type]:
23 + for i in [('tar.%s' % e) for e in FILE_EXTENSIONS[self.type]]:
24 candidate_ext = '.%s' % i
25 if self.src.endswith(candidate_ext):
26 ext = candidate_ext