Le 27/02/2011 19:25, Dan McGee a écrit :
-               print("Error: " + package + " is empty or is not a valid 
package")
+               print("Error: %s is empty or is not a valid package" % package)

That method of string formatting is deprecated in python 3. ;)

http://docs.python.org/release/3.1.3/library/stdtypes.html#old-string-formatting
http://docs.python.org/release/3.1.3/library/string.html#string-formatting

--
cantabile

"Jayne is a girl's name." -- River

Reply via email to