X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Futil%2Fmanifoldapi.py;h=96301273a72dd6c65bfddbb750ff4d82b5a468b8;hb=039fbd9629d7570d4c175a5448d24badcd0f3aba;hp=c9ff344e9b8ab96420aea7754fcaff441120e565;hpb=1a105e1e1e54145e1ffa6c280ba34afa66defc3c;p=nepi.git diff --git a/src/nepi/util/manifoldapi.py b/src/nepi/util/manifoldapi.py index c9ff344e..96301273 100644 --- a/src/nepi/util/manifoldapi.py +++ b/src/nepi/util/manifoldapi.py @@ -3,9 +3,8 @@ # Copyright (C) 2013 INRIA # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,6 +16,8 @@ # # Author: Lucia Guevgeozian Odizzio +from __future__ import print_function + import xmlrpclib import hashlib import threading @@ -135,7 +136,7 @@ class MANIFOLDAPI(object): return True else: msg = "Failed while trying to add %s to slice" % resource_urn - print msg + print(msg) # check how to do warning return False