Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
5b87d10a
Commit
5b87d10a
authored
Mar 27, 2018
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: clean up no longer useful Latch.__repr__
Those fields are always None since the recent fork cleanup work.
parent
d4bc4446
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
mitogen/core.py
mitogen/core.py
+1
-5
No files found.
mitogen/core.py
View file @
5b87d10a
...
@@ -1019,14 +1019,10 @@ class Latch(object):
...
@@ -1019,14 +1019,10 @@ class Latch(object):
raise
raise
def
__repr__
(
self
):
def
__repr__
(
self
):
rsock
=
getattr
(
_tls
,
'rsock'
,
None
)
return
'Latch(%#x, size=%d, t=%r)'
%
(
wsock
=
getattr
(
_tls
,
'wsock'
,
None
)
return
'Latch(%#x, size=%d, t=%r, r=%r, w=%r)'
%
(
id
(
self
),
id
(
self
),
len
(
self
.
_queue
),
len
(
self
.
_queue
),
threading
.
currentThread
().
name
,
threading
.
currentThread
().
name
,
rsock
and
rsock
.
fileno
(),
wsock
and
wsock
.
fileno
(),
)
)
...
...
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