Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
e00862dd
Commit
e00862dd
authored
Jun 25, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint
parent
37a1b0ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gevent/greenlet.py
gevent/greenlet.py
+2
-1
No files found.
gevent/greenlet.py
View file @
e00862dd
...
@@ -81,6 +81,7 @@ class FailureSpawnedLink(SpawnedLink):
...
@@ -81,6 +81,7 @@ class FailureSpawnedLink(SpawnedLink):
if
not
source
.
successful
():
if
not
source
.
successful
():
return
SpawnedLink
.
__call__
(
self
,
source
)
return
SpawnedLink
.
__call__
(
self
,
source
)
class
_lazy
(
object
):
class
_lazy
(
object
):
def
__init__
(
self
,
func
):
def
__init__
(
self
,
func
):
...
@@ -92,7 +93,7 @@ class _lazy(object):
...
@@ -92,7 +93,7 @@ class _lazy(object):
func
,
name
=
self
.
data
func
,
name
=
self
.
data
value
=
func
(
inst
)
value
=
func
(
inst
)
inst
.
__dict__
[
name
]
=
value
inst
.
__dict__
[
name
]
=
value
return
value
return
value
...
...
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