/rev/7f1e95db5c6c
changeset: 1197:7f1e95db5c6c
user: Martin Geisler <[email protected]>
date: Fri Jul 17 12:13:08 2009 +0200
summary: Removed unnecessary parenthesis in if-statements.
diffstat:
viff/runtime.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 84c8f3d5fa86 -r 7f1e95db5c6c viff/runtime.py
--- a/viff/runtime.py Fri Jul 17 11:00:44 2009 +0200
+++ b/viff/runtime.py Fri Jul 17 12:13:08 2009 +0200
@@ -796,7 +796,7 @@
"""Put deferred and data into the queue if the ViffReactor is running.
Otherwise, just execute the callback."""
- if (self.using_viff_reactor):
+ if self.using_viff_reactor:
self.deferred_queue.append((deferred, data))
else:
deferred.callback(data)
@@ -828,10 +828,10 @@
# setting the number to n makes the reactor called
# only every n-th time
- if (self.activation_counter >= 2):
+ if self.activation_counter >= 2:
self.depth_counter += 1
- if (self.depth_counter > self.max_depth):
+ if self.depth_counter > self.max_depth:
# Record the maximal depth reached.
self.max_depth = self.depth_counter
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk