]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-108550: Fix sqlite3 CLI regression from gh-108551 (GH-108618) (#108621)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 29 Aug 2023 10:54:35 +0000 (03:54 -0700)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2023 10:54:35 +0000 (12:54 +0200)
gh-108550: Fix sqlite3 CLI regression from gh-108551 (GH-108618)
(cherry picked from commit c8847841cc5629cbceead0c09dc6f537d7b92612)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Lib/sqlite3/__main__.py

index 10a2e9e0a202a4982f0599588152602f93f98c33..3b59763375c147477b303ff468d1ba358e3a39cd 100644 (file)
@@ -124,4 +124,4 @@ def main(*args):
 
 
 if __name__ == "__main__":
-    main(sys.argv)
+    main(sys.argv[1:])