From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1A51E1381F3 for ; Fri, 19 Jul 2013 14:44:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A929EE080A; Fri, 19 Jul 2013 14:44:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A435E080A for ; Fri, 19 Jul 2013 14:44:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 373B333BEBF for ; Fri, 19 Jul 2013 14:44:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D30D9E4B05 for ; Fri, 19 Jul 2013 14:44:10 +0000 (UTC) From: "Jauhien Piatlicki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jauhien Piatlicki" Message-ID: <1374245041.9b01f27448621d0b90f41664664bc95f7363a3a9.jauhien@gentoo> Subject: [gentoo-commits] proj/g-sorcery:master commit in: g_sorcery/ X-VCS-Repository: proj/g-sorcery X-VCS-Files: g_sorcery/fileutils.py X-VCS-Directories: g_sorcery/ X-VCS-Committer: jauhien X-VCS-Committer-Name: Jauhien Piatlicki X-VCS-Revision: 9b01f27448621d0b90f41664664bc95f7363a3a9 X-VCS-Branch: master Date: Fri, 19 Jul 2013 14:44:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5f576213-c248-4ce4-95cb-aaded8874dd1 X-Archives-Hash: 70b7661621c966f2de5b9eef8c1cdcd7 commit: 9b01f27448621d0b90f41664664bc95f7363a3a9 Author: Jauhien Piatlicki (jauhien) gmail com> AuthorDate: Fri Jul 19 14:44:01 2013 +0000 Commit: Jauhien Piatlicki gmail com> CommitDate: Fri Jul 19 14:44:01 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/g-sorcery.git;a=commit;h=9b01f274 g_sorcery/fileutils: support for .lzma --- g_sorcery/fileutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g_sorcery/fileutils.py b/g_sorcery/fileutils.py index 6ead317..92e1fb4 100644 --- a/g_sorcery/fileutils.py +++ b/g_sorcery/fileutils.py @@ -202,7 +202,7 @@ def load_remote_file(uri, parser, open_file = True, open_mode='r'): del unpack_dir else: name, extention = os.path.splitext(f_name) - if (extention == ".xz"): + if extention in [".xz", ".lzma"]: if (os.system("xz -d " + f_name)): raise DownloadingError("xz failed: " + f_name + " from " + uri) f_name = name