Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit78c79f1

Browse files
committed
Remove extra newline in readline_timed().
1 parent0bb5400 commit78c79f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎src/firebird/driver/core.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5723,9 +5723,7 @@ def readline_timed(self, timeout: int) -> str | Sentinel | None:
57235723
data=self.response.read_sized_string(encoding=self.encoding,errors=self.encoding_errors)
57245724
ifself.response.get_tag()==SrvInfoCode.TIMEOUT:
57255725
returnTIMEOUT
5726-
ifdata:
5727-
returndata+'\n'
5728-
returnNone
5726+
returndataifdataelseNone
57295727
defreadline(self)->str|None:
57305728
"""Get next line of textual output from last service query.
57315729

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp