gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: 2to3 ./src/integration-test


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: 2to3 ./src/integration-tests/test_integration_bootstrap_and_connect.py.in
Date: Sat, 03 Mar 2018 17:40:45 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 0081af209 2to3 
./src/integration-tests/test_integration_bootstrap_and_connect.py.in
0081af209 is described below

commit 0081af2092baa4b868a574115927be07088a3b35
Author: ng0 <address@hidden>
AuthorDate: Mon Nov 20 09:33:39 2017 +0000

    2to3 ./src/integration-tests/test_integration_bootstrap_and_connect.py.in
---
 .../test_integration_bootstrap_and_connect.py.in         | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/integration-tests/test_integration_bootstrap_and_connect.py.in 
b/src/integration-tests/test_integration_bootstrap_and_connect.py.in
index 73fb0b3bf..0a16237c0 100755
--- a/src/integration-tests/test_integration_bootstrap_and_connect.py.in
+++ b/src/integration-tests/test_integration_bootstrap_and_connect.py.in
@@ -1,6 +1,6 @@
 address@hidden@
 #    This file is part of GNUnet.
-#    (C) 2010 Christian Grothoff (and other contributing authors)
+#    (C) 2010, 2018 Christian Grothoff (and other contributing authors)
 #
 #    GNUnet is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published
@@ -95,12 +95,12 @@ def cleanup ():
 def success_cont (check):
     global success
     success = True;
-    print 'Peers connected successfully'
+    print('Peers connected successfully')
     
 def fail_cont (check):    
     global success 
     success = False;
-    print 'Peers did not connect'
+    print('Peers did not connect')
     check.evaluate(True)
 
 def check ():
@@ -130,7 +130,7 @@ def SigHandler(signum = None, frame = None):
        global server
        global client  
        
-       print 'Test was aborted!'
+       print('Test was aborted!')
        if (None != server):
                server.stop ()
        if (None != client):            
@@ -158,7 +158,7 @@ def run ():
        client = Peer(test, './confs/c_no_nat_client.conf');
        
        if (True != server.start()):
-               print 'Failed to start server'
+               print('Failed to start server')
                if (None != server):
                        server.stop ()
                if (None != server):            
@@ -170,7 +170,7 @@ def run ():
        time.sleep(5)
        
        if (True != client.start()):
-               print 'Failed to start client'
+               print('Failed to start client')
                if (None != server):
                        server.stop ()
                if (None != server):            
@@ -196,7 +196,7 @@ def run ():
 try:
        run ()
 except (KeyboardInterrupt, SystemExit):    
-       print 'Test interrupted'
+       print('Test interrupted')
        server.stop ()
        client.stop ()
        cleanup ()
@@ -204,4 +204,4 @@ if (success == False):
        sys.exit(1)   
 else:
        sys.exit(0)    
-    
\ No newline at end of file
+    

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]