Re: [arch-general] [arch-dev-public] [PATCH 1/3] Use format strings when printing errors
27 Feb
2011
27 Feb
'11
5:36 p.m.
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-format... http://docs.python.org/release/3.1.3/library/string.html#string-formatting -- cantabile "Jayne is a girl's name." -- River
5046
Age (days ago)
5046
Last active (days ago)
0 comments
1 participants
participants (1)
-
cantabile