Issue #12853: Correct NameError in distutils upload command.
diff --git a/Misc/NEWS b/Misc/NEWS
index 2638fc7..77bc5a8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,8 @@
 Library
 -------
 
+- Issue #12853: Fix NameError in distutils.command.upload.
+
 - Issue #19523: Closed FileHandler leak which occurred when delay was set.
 
 - Issue #1575020: Fixed support of 24-bit wave files on big-endian platforms.