X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2FtestInterfaces.py;h=520d94ad4e61a0f4dbed19b5a08004483b830390;hb=4a9e6751f9f396f463932133b9d62fc925a99ef6;hp=cf7720895d0732edd85bfeb70e275a4ce2819ffb;hpb=fe078a6fed085fdc81c1b29c619188866ca0c12b;p=sfa.git diff --git a/tests/testInterfaces.py b/tests/testInterfaces.py index cf772089..520d94ad 100755 --- a/tests/testInterfaces.py +++ b/tests/testInterfaces.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/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]