Skip to content

Commit 92985e3

Browse files
gh-130195: Fix typo in warning message (#130254)
Co-authored-by: Éric <[email protected]>
1 parent b1f2304 commit 92985e3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add warning messages when :program:`pygettext` unimplemented ``-a/--extract-all`` option is called.

Tools/i18n/pygettext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ class Options:
727727
if opt in ('-h', '--help'):
728728
usage(0)
729729
elif opt in ('-a', '--extract-all'):
730-
print("DepreciationWarning: -a/--extract-all is not implemented and will be removed in a future version",
730+
print("DeprecationWarning: -a/--extract-all is not implemented and will be removed in a future version",
731731
file=sys.stderr)
732732
options.extractall = 1
733733
elif opt in ('-c', '--add-comments'):

0 commit comments

Comments
 (0)