Skip to content

Commit 5ad30da

Browse files
authored
Fix some typos
1 parent 441a7af commit 5ad30da

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

release.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def chdir_to_repo_root():
5858
# note that we can't ask git, because we might
5959
# be in an exported directory tree!
6060

61-
# we intentionally start in a (probably nonexistant) subtree
61+
# we intentionally start in a (probably nonexistent) subtree
6262
# the first thing the while loop does is .., basically
6363
path = os.path.abspath("garglemox")
6464
while True:
@@ -121,7 +121,7 @@ def get_arg_parser():
121121
help='Upload the tarballs and docs to dinsdale')
122122
p.add_option('-m', '--branch',
123123
default=False, action='store_true',
124-
help='create a maintance branch to go along with the release')
124+
help='Create a maintenance branch to go along with the release')
125125
p.add_option('-t', '--tag',
126126
default=False, action='store_true',
127127
help='Tag the release in Subversion')
@@ -455,7 +455,7 @@ def is_alpha_release(self):
455455
return self.level == "a"
456456

457457
@property
458-
def is_release_candiate(self):
458+
def is_release_candidate(self):
459459
return self.level == "rc"
460460

461461
@property

run_release.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def execute_command(command):
580580
# Docs
581581

582582
release_tag: release_mod.Tag = db["release"]
583-
if release_tag.is_final or release_tag.is_release_candiate:
583+
if release_tag.is_final or release_tag.is_release_candidate:
584584
source = f"/home/psf-users/{db['ssh_user']}/{db['release']}"
585585
destination = f"/srv/www.python.org/ftp/python/doc/{release_tag}"
586586

@@ -599,7 +599,7 @@ def execute_command(command):
599599

600600
def upload_docs_to_the_docs_server(db: DbfilenameShelf) -> None:
601601
release_tag: release_mod.Tag = db["release"]
602-
if not (release_tag.is_final or release_tag.is_release_candiate):
602+
if not (release_tag.is_final or release_tag.is_release_candidate):
603603
return
604604

605605
client = paramiko.SSHClient()
@@ -635,7 +635,7 @@ def upload_subdir(subdir):
635635

636636
def unpack_docs_in_the_docs_server(db: DbfilenameShelf) -> None:
637637
release_tag: release_mod.Tag = db["release"]
638-
if not (release_tag.is_final or release_tag.is_release_candiate):
638+
if not (release_tag.is_final or release_tag.is_release_candidate):
639639
return
640640

641641
client = paramiko.SSHClient()
@@ -1023,7 +1023,7 @@ def _api_key(api_key):
10231023
Task(prepare_pydoc_topics, "Preparing pydoc topics"),
10241024
Task(run_autoconf, "Running autoconf"),
10251025
Task(check_cpython_repo_is_clean, "Checking git repository is clean"),
1026-
Task(check_pyspecific, "Chech pyspecific"),
1026+
Task(check_pyspecific, "Checking pyspecific"),
10271027
Task(bump_version, "Bump version"),
10281028
Task(check_cpython_repo_is_clean, "Checking git repository is clean"),
10291029
Task(create_tag, "Create tag"),

0 commit comments

Comments
 (0)