Author: arigo <[email protected]>
Branch:
Changeset: r59455:c647f4a18839
Date: 2012-12-16 11:33 +0100
http://bitbucket.org/pypy/pypy/changeset/c647f4a18839/
Log: Merged in yrttyr/pypy (pull request #97: indent fix)
diff --git a/lib_pypy/stackless.py b/lib_pypy/stackless.py
--- a/lib_pypy/stackless.py
+++ b/lib_pypy/stackless.py
@@ -434,8 +434,8 @@
def insert(self):
if self.blocked:
raise RuntimeError, "You cannot run a blocked tasklet"
- if not self.alive:
- raise RuntimeError, "You cannot run an unbound(dead) tasklet"
+ if not self.alive:
+ raise RuntimeError, "You cannot run an unbound(dead) tasklet"
_scheduler_append(self)
def remove(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit