X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=blobdiff_plain;f=plugins%2Fsfagids.py;h=a3e1813824369f7991f261def7731a45462f88ff;hp=21ea58180c4429485b8a7b7ba24b5d7df9ae1832;hb=48a73b18fd7daed13c645c1adeddb57b560e7a2d;hpb=7b8fc390afd0349706c45c3ae970770cdf9dceae diff --git a/plugins/sfagids.py b/plugins/sfagids.py index 21ea581..a3e1813 100644 --- a/plugins/sfagids.py +++ b/plugins/sfagids.py @@ -109,7 +109,7 @@ def install_trusted_certs(api): trusted_gid_names.append(relative_filename) gid_filename = trusted_certs_dir + os.sep + relative_filename if verbose: - print "Writing GID for %s as %s" % (gid.get_hrn(), gid_filename) + print("Writing GID for %s as %s" % (gid.get_hrn(), gid_filename)) gid.save_to_file(gid_filename, save_parents=True) # remove old certs @@ -117,7 +117,7 @@ def install_trusted_certs(api): for gid_name in all_gids_names: if gid_name not in trusted_gid_names: if verbose: - print "Removing old gid ", gid_name + print("Removing old gid ", gid_name) os.unlink(trusted_certs_dir + os.sep + gid_name)