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 B3E641381F3 for ; Thu, 12 Sep 2013 16:36:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41FD8E0D43; Thu, 12 Sep 2013 16:36:42 +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 C8D8AE0D43 for ; Thu, 12 Sep 2013 16:36:41 +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 A5CBF33EC29 for ; Thu, 12 Sep 2013 16:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 577E1E5460 for ; Thu, 12 Sep 2013 16:36:39 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1379003290.6d952e4954d4e1d2aaf76bc66e704ec76b608e34.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/argutil.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 6d952e4954d4e1d2aaf76bc66e704ec76b608e34 X-VCS-Branch: master Date: Thu, 12 Sep 2013 16:36:39 +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: 3e0f1fb6-ef6c-42a1-bdd3-dd2845c20437 X-Archives-Hash: d05c652f2c9308e8cb3f3d0591dc7a3c commit: 6d952e4954d4e1d2aaf76bc66e704ec76b608e34 Author: André Erdmann mailerd de> AuthorDate: Thu Sep 12 16:28:10 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Thu Sep 12 16:28:10 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=6d952e49 roverlay/argutil, dirstr(): return abspath --- roverlay/argutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roverlay/argutil.py b/roverlay/argutil.py index 198ccda..90444a3 100644 --- a/roverlay/argutil.py +++ b/roverlay/argutil.py @@ -120,7 +120,7 @@ def dirstr ( value ): if value[0] == '~': return value.rstrip ( os.path.sep ) else: - return os.path.sep + value.strip ( os.path.sep ) + return os.path.abspath ( value ) else: raise argparse.ArgumentTypeError ( "cannot create dir-string for {!r}".format ( value )