gentpl.py: Use python3-style print function
This commit is contained in:
parent
b0f311f412
commit
aa437b5890
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-12-05 Mike Gilbert <floppym@gentoo.org>
|
||||
|
||||
* INSTALL: Raise minimum python version to 2.6.
|
||||
* gentpl.py: Use python3-style print function.
|
||||
|
||||
2013-12-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-install.c: Mention Boot* variable.
|
||||
|
|
2
INSTALL
2
INSTALL
|
@ -54,7 +54,7 @@ To build GRUB's graphical terminal (gfxterm), you need:
|
|||
If you use a development snapshot or want to hack on GRUB you may
|
||||
need the following.
|
||||
|
||||
* Python 2.5.2 or later
|
||||
* Python 2.6 or later
|
||||
* Autoconf 2.60 or later
|
||||
* Automake 1.10.1 or later
|
||||
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
from optparse import OptionParser
|
||||
|
@ -434,7 +436,7 @@ def output(s, section=''):
|
|||
|
||||
def write_output(section=''):
|
||||
for s in outputs.get(section, []):
|
||||
print s,
|
||||
print(s, end='')
|
||||
|
||||
#
|
||||
# Global variables
|
||||
|
|
Loading…
Reference in a new issue