Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
fc0729b3
Commit
fc0729b3
authored
Aug 01, 2022
by
Michael Howitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix lint tests.
parent
a0c82e9c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
src/ZEO/asyncio/client.py
src/ZEO/asyncio/client.py
+3
-1
src/ZEO/tests/ZEO4/zrpc/smac.py
src/ZEO/tests/ZEO4/zrpc/smac.py
+1
-1
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+2
-2
No files found.
src/ZEO/asyncio/client.py
View file @
fc0729b3
...
...
@@ -1005,7 +1005,9 @@ class ClientThread(ClientRunner):
class
Fut
(
object
):
"""Lightweight future that calls it's callbacks immediately rather than soon
"""Lightweight future that calls it's callbacks immediately ...
rather than soon.
"""
def
__init__
(
self
):
...
...
src/ZEO/tests/ZEO4/zrpc/smac.py
View file @
fc0729b3
...
...
@@ -286,7 +286,7 @@ class SizedMessageAsyncConnection(asyncore.dispatcher):
except
StopIteration
:
messages
.
pop
(
0
)
else
:
assert
(
isinstance
(
message
,
six
.
binary_type
)
)
assert
isinstance
(
message
,
six
.
binary_type
)
size
+=
self
.
__message_output
(
message
,
output
)
v
=
b""
.
join
(
output
)
...
...
src/ZEO/tests/testZEO.py
View file @
fc0729b3
...
...
@@ -730,8 +730,8 @@ class CommonBlobTests(object):
filename
=
self
.
_storage
.
loadBlob
(
oid
,
serial
)
with
open
(
filename
,
'rb'
)
as
f
:
self
.
assertEqual
(
somedata
,
f
.
read
())
self
.
assertTrue
(
not
(
os
.
stat
(
filename
).
st_mode
&
stat
.
S_IWRITE
))
self
.
assertTrue
(
(
os
.
stat
(
filename
).
st_mode
&
stat
.
S_IREAD
)
)
self
.
assertTrue
(
not
(
os
.
stat
(
filename
).
st_mode
&
stat
.
S_IWRITE
))
self
.
assertTrue
(
os
.
stat
(
filename
).
st_mode
&
stat
.
S_IREAD
)
def
checkTemporaryDirectory
(
self
):
self
.
assertEqual
(
os
.
path
.
join
(
self
.
blob_cache_dir
,
'tmp'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment