mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-03 22:18:17 +00:00
Make apport hook compatible with Python 3.
This commit is contained in:
parent
f9e6bf4bc2
commit
16a55758f1
9
debian/apport/source_grub2.py
vendored
9
debian/apport/source_grub2.py
vendored
@ -8,6 +8,9 @@ Free Software Foundation; either version 3 of the License, or (at your
|
|||||||
option) any later version. See http://www.gnu.org/copyleft/gpl.html for
|
option) any later version. See http://www.gnu.org/copyleft/gpl.html for
|
||||||
the full text of the license.
|
the full text of the license.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
from apport.hookutils import *
|
from apport.hookutils import *
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
@ -88,6 +91,6 @@ if __name__ == '__main__':
|
|||||||
r = {}
|
r = {}
|
||||||
r['ProblemType'] = 'Package'
|
r['ProblemType'] = 'Package'
|
||||||
add_info(r)
|
add_info(r)
|
||||||
for k, v in r.iteritems():
|
for k, v in r.items():
|
||||||
print '%s: "%s"' % (k, v)
|
print('%s: "%s"' % (k, v))
|
||||||
print "========================================"
|
print("========================================")
|
||||||
|
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -6,6 +6,9 @@ grub2 (1.99-22) UNRELEASED; urgency=low
|
|||||||
* Traditional Chinese (Vincent Chen).
|
* Traditional Chinese (Vincent Chen).
|
||||||
* Vietnamese (Hai Lang).
|
* Vietnamese (Hai Lang).
|
||||||
|
|
||||||
|
[ Colin Watson ]
|
||||||
|
* Make apport hook compatible with Python 3.
|
||||||
|
|
||||||
-- Christian Perrier <bubulle@debian.org> Fri, 06 Apr 2012 20:29:25 +0200
|
-- Christian Perrier <bubulle@debian.org> Fri, 06 Apr 2012 20:29:25 +0200
|
||||||
|
|
||||||
grub2 (1.99-21) unstable; urgency=low
|
grub2 (1.99-21) unstable; urgency=low
|
||||||
|
Loading…
Reference in New Issue
Block a user