mirror of
https://github.com/tromey/gdb-gui.git
synced 2026-01-06 08:30:06 +01:00
make it work with both python2 and python3
I ran 2to3, fixed up the output a tiny bit, and fixed the C module as well. I smoke tested with both versions of Python but didn't use it in anger yet. Fix #29
This commit is contained in:
12
gui/adapt.py
12
gui/adapt.py
@@ -46,10 +46,10 @@ def notify_bug(bugno):
|
||||
return
|
||||
if not (bugno in bugs):
|
||||
return
|
||||
print "################"
|
||||
print bugs[bugno]
|
||||
print _warning % bugno
|
||||
print ""
|
||||
print "You can use 'set gui mention-missing off' to disable this message."
|
||||
print "################"
|
||||
print("################")
|
||||
print(bugs[bugno])
|
||||
print(_warning % bugno)
|
||||
print("")
|
||||
print("You can use 'set gui mention-missing off' to disable this message.")
|
||||
print("################")
|
||||
del bugs[bugno]
|
||||
|
||||
Reference in New Issue
Block a user