- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33.3k
gh-133439: Fix the error message in the sqlite3 CLI #133807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
6b59a0b
              6980619
              6cb0432
              1c6cf80
              97d002d
              c2ed7f1
              7170ad9
              fed7c0a
              e8fde8d
              4dcd379
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|  | @@ -61,7 +61,7 @@ def runsource(self, source, filename="<input>", symbol="single"): | |||||
| if source[0] == ".": | ||||||
| match source[1:].strip(): | ||||||
| case "version": | ||||||
| print(f"{sqlite3.sqlite_version}") | ||||||
| print(sqlite3.sqlite_version) | ||||||
| case "help": | ||||||
| print("Enter SQL code and press enter.") | ||||||
| case "quit": | ||||||
|  | @@ -70,8 +70,8 @@ def runsource(self, source, filename="<input>", symbol="single"): | |||||
| pass | ||||||
| case _ as unknown: | ||||||
| t = theme.traceback | ||||||
| self.write(f'{t.type}Error{t.reset}:{t.message} unknown' | ||||||
| f'command or invalid arguments: "{unknown}".\n{t.reset}') | ||||||
| print(f'{t.type}Error{t.reset}:{t.message} unknown command ' | ||||||
|          | ||||||
| print(f'{t.type}Error{t.reset}:{t.message} unknown command ' | |
| self.write(f'{t.type}Error{t.reset}:{t.message} unknown command ' | 
It is up to you/Erlend. The box to allow you to commit was checked.
Uh oh!
There was an error while loading. Please reload this page.