+2010-08-06 David Malcolm <dmalcolm@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * python/hook.in: Rename variable dir to dir_.
+
2010-08-06 Jason Merrill <jason@redhat.com>
* include/std/thread: Add deleted thread(thread&).
dotdots = ('..' + os.sep) * len (libdir.split (os.sep))
objfile = gdb.current_objfile ().filename
- dir = os.path.join (os.path.dirname (objfile), dotdots, pythondir)
+ dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir)
- if not dir in sys.path:
- sys.path.insert(0, dir)
+ if not dir_ in sys.path:
+ sys.path.insert(0, dir_)
# Load the pretty-printers.
from libstdcxx.v6.printers import register_libstdcxx_printers