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 A465E1381F3 for ; Tue, 23 Jul 2013 07:51:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1E8CE0A01; Tue, 23 Jul 2013 07:51:36 +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 49B5DE0A01 for ; Tue, 23 Jul 2013 07:51:36 +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 5876C33E979 for ; Tue, 23 Jul 2013 07:51:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D77F7E5475 for ; Tue, 23 Jul 2013 07:51:32 +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: <1374255947.09b615d1352bab7662426b3b5c64bb60ae4e4a7b.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/strutil.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 09b615d1352bab7662426b3b5c64bb60ae4e4a7b X-VCS-Branch: master Date: Tue, 23 Jul 2013 07:51:32 +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: 49588880-910a-4816-8100-63c2d274baf0 X-Archives-Hash: fd3896709ae3ba8c3719989fae1eed94 commit: 09b615d1352bab7662426b3b5c64bb60ae4e4a7b Author: André Erdmann mailerd de> AuthorDate: Fri Jul 19 17:45:47 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Fri Jul 19 17:45:47 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=09b615d1 roverlay/strutil: unquote_all() --- roverlay/strutil.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roverlay/strutil.py b/roverlay/strutil.py index b4e2631..755a191 100644 --- a/roverlay/strutil.py +++ b/roverlay/strutil.py @@ -108,7 +108,7 @@ def pipe_lines ( _pipe, use_filter=False, filter_func=None ): return lines # --- end of pipe_lines (...) --- -def unquote ( _str, keep_going=False): +def unquote ( _str, keep_going=False ): """Removes enclosing quotes from a string. arguments: @@ -124,6 +124,10 @@ def unquote ( _str, keep_going=False): return _str # --- end of unquote (...) --- +def unquote_all ( s ): + return unquote ( s, keep_going=True ) +# --- end of unquote_all (...) --- + def bytes_try_decode ( byte_str, encodings=_DEFAULT_ENCODINGS, 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 8A95B138200 for ; Fri, 19 Jul 2013 18:00:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5B53E0944; Fri, 19 Jul 2013 18:00:43 +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 39E73E0949 for ; Fri, 19 Jul 2013 18:00:43 +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 49B1733E929 for ; Fri, 19 Jul 2013 18:00:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 39F8CE5469 for ; Fri, 19 Jul 2013 18:00:40 +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: <1374255947.09b615d1352bab7662426b3b5c64bb60ae4e4a7b.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:gsoc13/next commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/strutil.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 09b615d1352bab7662426b3b5c64bb60ae4e4a7b X-VCS-Branch: gsoc13/next Date: Fri, 19 Jul 2013 18:00:40 +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: 429ea905-2137-453e-b194-edd021084013 X-Archives-Hash: b6d2c96a1e39251fcfe0dd8c55e477ac Message-ID: <20130719180040.GIUnDbhxG7lOBcGbTkbNSyXVWYVG_pb39IdPciK-bdQ@z> commit: 09b615d1352bab7662426b3b5c64bb60ae4e4a7b Author: André Erdmann mailerd de> AuthorDate: Fri Jul 19 17:45:47 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Fri Jul 19 17:45:47 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=09b615d1 roverlay/strutil: unquote_all() --- roverlay/strutil.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roverlay/strutil.py b/roverlay/strutil.py index b4e2631..755a191 100644 --- a/roverlay/strutil.py +++ b/roverlay/strutil.py @@ -108,7 +108,7 @@ def pipe_lines ( _pipe, use_filter=False, filter_func=None ): return lines # --- end of pipe_lines (...) --- -def unquote ( _str, keep_going=False): +def unquote ( _str, keep_going=False ): """Removes enclosing quotes from a string. arguments: @@ -124,6 +124,10 @@ def unquote ( _str, keep_going=False): return _str # --- end of unquote (...) --- +def unquote_all ( s ): + return unquote ( s, keep_going=True ) +# --- end of unquote_all (...) --- + def bytes_try_decode ( byte_str, encodings=_DEFAULT_ENCODINGS,