[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Revert "Fix indentation of if else statement."



commit 8d9e5b612e5ff204eb8dbed269a0dafeb9e98323
Author: aagbsn <aagbsn@xxxxxxxx>
Date:   Wed Nov 27 14:03:52 2013 +0000

    Revert "Fix indentation of if else statement."
    
    This reverts commit f6b849a88ce2f97571e051caca5dcf164ca1e064.
    
    See: For-Else loop construct
---
 ooni/deck.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ooni/deck.py b/ooni/deck.py
index 5614f9a..23bb9a1 100644
--- a/ooni/deck.py
+++ b/ooni/deck.py
@@ -133,8 +133,8 @@ class Deck(InputFile):
             for rth in net_test_loader.requiredTestHelpers:
                 if option_name.message == rth['option']:
                     break
-                else:
-                    raise
+            else:
+                raise
         self.netTestLoaders.append(net_test_loader)
 
     @defer.inlineCallbacks



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits