projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05428e3
)
Avoid shadowing the dir builtin
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 3 Dec 2010 19:08:36 +0000
(14:08 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 3 Dec 2010 19:08:36 +0000
(14:08 -0500)
Proposed by David Malcolm,
https://bugzilla.gnome.org/show_bug.cgi?id=636387
gobject/libgobject-gdb.py.in
patch
|
blob
|
history
diff --git
a/gobject/libgobject-gdb.py.in
b/gobject/libgobject-gdb.py.in
index 6ebd0dcc1a8007bbb975aa9118abde70f1f26d2d..fbd4879e170729dec5a8cbc4bf7d71e47b264208 100644
(file)
--- a/
gobject/libgobject-gdb.py.in
+++ b/
gobject/libgobject-gdb.py.in
@@
-2,9
+2,9
@@
import sys
import gdb
# Update module path.
-dir = '@datadir@/glib-2.0/gdb'
-if not dir in sys.path:
- sys.path.insert(0, dir)
+dir
_
= '@datadir@/glib-2.0/gdb'
+if not dir
_
in sys.path:
+ sys.path.insert(0, dir
_
)
from gobject import register
register (gdb.current_objfile ())