git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yet another srt / bytes issue in certificate
[sfa.git]
/
tests
/
testInterfaces.py
diff --git
a/tests/testInterfaces.py
b/tests/testInterfaces.py
index
cf77208
..
520d94a
100755
(executable)
--- 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
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:
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]
sys.exit(1)
key_path = os.path.dirname(options.config_file)
user_name = self.config.SFI_USER.split('.')[-1:][0]