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 6735D138200 for ; Wed, 3 Jul 2013 23:49:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7D8BE08ED; Wed, 3 Jul 2013 23:49:17 +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 22417E08ED for ; Wed, 3 Jul 2013 23:49:16 +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 1EF0D33E855 for ; Wed, 3 Jul 2013 23:49:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B3E84E5460 for ; Wed, 3 Jul 2013 23:49:14 +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: <1372894776.3ec16e18c9d58f78fbdc0b138fe3e13c1f856864.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: 3ec16e18c9d58f78fbdc0b138fe3e13c1f856864 X-VCS-Branch: master Date: Wed, 3 Jul 2013 23:49:14 +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: 28d9c8e5-1471-49d5-ba61-9bd561e2e2ae X-Archives-Hash: 6b40ccdafbb4be86ce152b606dfd3229 commit: 3ec16e18c9d58f78fbdc0b138fe3e13c1f856864 Author: Jauhien Piatlicki (jauhien) gmail com> AuthorDate: Wed Jul 3 23:39:36 2013 +0000 Commit: Jauhien Piatlicki gmail com> CommitDate: Wed Jul 3 23:39:36 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/g-sorcery.git;a=commit;h=3ec16e18 g_sorcery/fileutils: fix indent --- g_sorcery/fileutils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/g_sorcery/fileutils.py b/g_sorcery/fileutils.py index 5cafc36..659df41 100644 --- a/g_sorcery/fileutils.py +++ b/g_sorcery/fileutils.py @@ -119,7 +119,7 @@ def get_pkgpath(): Returns: Package path. """ - root = __file__ - if os.path.islink(root): - root = os.path.realpath(root) - return os.path.dirname(os.path.abspath(root)) + root = __file__ + if os.path.islink(root): + root = os.path.realpath(root) + return os.path.dirname(os.path.abspath(root))