From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ShkfA-0004HY-4W for garchives@archives.gentoo.org; Thu, 21 Jun 2012 16:55:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EBC3E0B04; Thu, 21 Jun 2012 16:55:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1064EE0B04 for ; Thu, 21 Jun 2012 16:55:06 +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 69DA91B4036 for ; Thu, 21 Jun 2012 16:55:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 22B37E543E for ; Thu, 21 Jun 2012 16:55:04 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1340297428.13bd52f447bf3884e12c97790a0f656fa786f254.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/packageinfo.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 13bd52f447bf3884e12c97790a0f656fa786f254 X-VCS-Branch: master Date: Thu, 21 Jun 2012 16:55:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b6d751a6-6687-4dd0-8f1b-d8d36350e2c2 X-Archives-Hash: 1f7eb766d8ab75c62b8c11103e3c7fd2 commit: 13bd52f447bf3884e12c97790a0f656fa786f254 Author: Andr=C3=A9 Erdmann mailerd de> AuthorDate: Thu Jun 21 16:50:28 2012 +0000 Commit: Andr=C3=A9 Erdmann mailerd de> CommitDate: Thu Jun 21 16:50:28 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/R_overlay.git= ;a=3Dcommit;h=3D13bd52f4 use os.path.abspath in PackageInfo.update() modified: roverlay/packageinfo.py --- roverlay/packageinfo.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/roverlay/packageinfo.py b/roverlay/packageinfo.py index fd89a60..712b5a6 100644 --- a/roverlay/packageinfo.py +++ b/roverlay/packageinfo.py @@ -243,13 +243,15 @@ class PackageInfo ( object ): self._update_lock.release() # --- end of update (**kw) --- =20 - def _use_filepath ( self, filepath ): + def _use_filepath ( self, _filepath ): """auxiliary method for update(**kw) =20 arguments: - * filepath -- + * _filepath -- """ =20 + filepath =3D os.path.abspath ( _filepath ) + filename_with_ext =3D os.path.basename ( filepath ) =20 # remove .tar.gz .tar.bz2 etc.