Skip to content

Commit e29221e

Browse files
committed
working!
1 parent 652cc55 commit e29221e

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

util/make-test-project

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#!/usr/bin/env python3
22

3+
# since someone else is using the "dnspython" name on test.pypi.org, we rename
4+
# project to dnspython_test for testing purposes.
5+
36
import os
47

5-
PROJECT = 'pyproject.toml'
6-
NEW_PROJECT = 'pyproject.toml-new'
8+
PROJECT = "pyproject.toml"
9+
NEW_PROJECT = "pyproject.toml-new"
710

8-
with open(PROJECT, 'rt') as f:
9-
with open(NEW_PROJECT, 'wt') as nf:
11+
with open(PROJECT, "rt") as f:
12+
with open(NEW_PROJECT, "wt") as nf:
1013
for l in f.readlines():
1114
l = l.rstrip()
1215
if l == 'name = "dnspython"':

0 commit comments

Comments
 (0)