From: Bob Halley Date: Wed, 3 Sep 2025 19:56:53 +0000 (-0700) Subject: working! X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e29221e4d1cdcccbfdf6fbfc895f0baf6dd6daec;p=thirdparty%2Fdnspython.git working! --- diff --git a/util/make-test-project b/util/make-test-project index 87fe84d2..2a02cbed 100644 --- a/util/make-test-project +++ b/util/make-test-project @@ -1,12 +1,15 @@ #!/usr/bin/env python3 +# since someone else is using the "dnspython" name on test.pypi.org, we rename +# project to dnspython_test for testing purposes. + import os -PROJECT = 'pyproject.toml' -NEW_PROJECT = 'pyproject.toml-new' +PROJECT = "pyproject.toml" +NEW_PROJECT = "pyproject.toml-new" -with open(PROJECT, 'rt') as f: - with open(NEW_PROJECT, 'wt') as nf: +with open(PROJECT, "rt") as f: + with open(NEW_PROJECT, "wt") as nf: for l in f.readlines(): l = l.rstrip() if l == 'name = "dnspython"':