X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fclient%2Fsfaclientlib.py;fp=sfa%2Fclient%2Fsfaclientlib.py;h=ccdf36ace52f8e28c20062467ed85f4c06bb7f51;hb=fad16c7d54b658b37a9b42fbee47b0d4f51cb8ec;hp=bc4a1d141bcd016abdff460cdeb7ee5a064b9851;hpb=5038558d9964a097582210037fa10f151044f275;p=sfa.git diff --git a/sfa/client/sfaclientlib.py b/sfa/client/sfaclientlib.py index bc4a1d14..ccdf36ac 100644 --- a/sfa/client/sfaclientlib.py +++ b/sfa/client/sfaclientlib.py @@ -1,7 +1,9 @@ # Thierry Parmentelat -- INRIA -# -# a minimal library for writing "lightweight" SFA clients -# +""" +a minimal library for writing "lightweight" SFA clients +""" + +from __future__ import print_function # xxx todo # this library should probably check for the expiration date of the various @@ -217,9 +219,9 @@ class SfaClientBootstrap: openssl_command += [ "-in", self.my_gid_filename()] openssl_command += [ "-out", filename ] if subprocess.call(openssl_command) ==0: - print "Successfully created %s"%filename + print("Successfully created %s"%filename) else: - print "Failed to create %s"%filename + print("Failed to create %s"%filename) # Returns True if credential file is valid. Otherwise return false. def validate_credential(self, filename):