From 92b1f52260ecb791d92a2a075f1d3b6fef350406 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 19 Sep 2018 17:22:53 -0700 Subject: [PATCH] Loosen README check for CPython working directory Tauthon is a fork of CPython2.7 and has essentially the same organizational and naming conventions that the prior code attempted to verify by evaluating the 'Python version 2' regular expression against the first line of README. Allow `blurb` to generate entries in the Tauthon fork by slightly relaxing this regex. --- blurb/blurb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blurb/blurb.py b/blurb/blurb.py index cd975ba..15ab6e3 100755 --- a/blurb/blurb.py +++ b/blurb/blurb.py @@ -715,7 +715,7 @@ def run(s): return process.stdout.decode('ascii') -readme_re = re.compile(r"This is Python version [23]\.\d").match +readme_re = re.compile(r"This is (Py|Tau)thon version [23]\.\d").match def chdir_to_repo_root(): global root pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy