commit: 411135791c4194d61a815277a66f6e718b474814
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 28 19:59:11 2014 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Sun Sep 28 19:59:11 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=41113579
tar.py: fixes closing in iterable file extension list
---
layman/overlays/modules/tar/tar.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layman/overlays/modules/tar/tar.py
b/layman/overlays/modules/tar/tar.py
index ff6a9f0..9920dd8 100644
--- a/layman/overlays/modules/tar/tar.py
+++ b/layman/overlays/modules/tar/tar.py
@@ -60,7 +60,7 @@ class TarOverlay(ArchiveOverlay):
@rtype str
'''
ext = '.tar.noidea'
- for i in [('tar.%s' % e) for e in FILE_EXTENSIONS[self.type]:
+ for i in [('tar.%s' % e) for e in FILE_EXTENSIONS[self.type]]:
candidate_ext = '.%s' % i
if self.src.endswith(candidate_ext):
ext = candidate_ext