X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2FtestInterfaces.py;h=520d94ad4e61a0f4dbed19b5a08004483b830390;hb=4a9e6751f9f396f463932133b9d62fc925a99ef6;hp=1ab8048e1601a9366d62a7933fd203412f7a364a;hpb=31cc4fa991896f000abb106916662923f37bc3a6;p=sfa.git diff --git a/tests/testInterfaces.py b/tests/testInterfaces.py index 1ab8048e..520d94ad 100755 --- a/tests/testInterfaces.py +++ b/tests/testInterfaces.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 import sys import os import random @@ -30,7 +30,7 @@ class Client: def __init__(self, options): try: self.config = config = Config(options.config_file) except: - print "failed to read config_file %s" % options.config_file + print("failed to read config_file %s" % options.config_file) sys.exit(1) key_path = os.path.dirname(options.config_file) user_name = self.config.SFI_USER.split('.')[-1:][0]