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.77) (envelope-from ) id 1SrdI1-0005Qa-LK for garchives@archives.gentoo.org; Wed, 18 Jul 2012 23:04:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 809E9E064E; Wed, 18 Jul 2012 23:04:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 53909E064E for ; Wed, 18 Jul 2012 23:03:59 +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 E42C71B402F for ; Wed, 18 Jul 2012 23:03:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A51BAE543C for ; Wed, 18 Jul 2012 23:03:57 +0000 (UTC) From: "Slava Bacherikov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Slava Bacherikov" Message-ID: <1342640864.4d5f86d2d9b6470c74793bfc7ef5d17368b679fb.bacher09@gentoo> Subject: [gentoo-commits] proj/gentoo-packages:master commit in: gpackages/libs/package_info/generic_metadata/ X-VCS-Repository: proj/gentoo-packages X-VCS-Files: gpackages/libs/package_info/generic_metadata/changelog_parse.py X-VCS-Directories: gpackages/libs/package_info/generic_metadata/ X-VCS-Committer: bacher09 X-VCS-Committer-Name: Slava Bacherikov X-VCS-Revision: 4d5f86d2d9b6470c74793bfc7ef5d17368b679fb X-VCS-Branch: master Date: Wed, 18 Jul 2012 23:03:57 +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: a1e50e1d-d096-414d-9c11-5adb4ffda360 X-Archives-Hash: 88931fb2ea27a6edfa8eab45354957cd commit: 4d5f86d2d9b6470c74793bfc7ef5d17368b679fb Author: Slava Bacherikov bacher09 org> AuthorDate: Wed Jul 18 19:47:44 2012 +0000 Commit: Slava Bacherikov bacherikov org ua> CommitDate: Wed Jul 18 19:47:44 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoo-packag= es.git;a=3Dcommit;h=3D4d5f86d2 Add notice --- .../generic_metadata/changelog_parse.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gpackages/libs/package_info/generic_metadata/changelog_parse= .py b/gpackages/libs/package_info/generic_metadata/changelog_parse.py index 0f638c4..7d2c17f 100644 --- a/gpackages/libs/package_info/generic_metadata/changelog_parse.py +++ b/gpackages/libs/package_info/generic_metadata/changelog_parse.py @@ -32,6 +32,9 @@ clear_re =3D re.compile(r'\s+') email_re =3D re.compile(r'(?P[\w\.\-]+)@(?P[\w\.= \-]+)') date_re =3D re.compile(CHANGELOG_DATE_RE_P) =20 +# Warning !!! +# For working this part code correctly locale should be right switched +# May be change localte manualy ? MONTH_TUPLE =3D tuple(calendar.month_abbr)[1:] =20 def parse_date(date_str, traceback =3D False):