diff options
author | David Malcolm <dmalcolm@redhat.com> | 2010-08-06 20:43:04 +0000 |
---|---|---|
committer | Jan Kratochvil <jkratoch@gcc.gnu.org> | 2010-08-06 20:43:04 +0000 |
commit | cd6b2fa0e7cc07a7007f4928813f14cc940c50d9 (patch) | |
tree | 8dc484aa68455cc7d8956b936df119a355cd2b76 /libstdc++-v3/python | |
parent | 7862d4962909c8cb237c55a00ab86dbf8e56e40a (diff) | |
download | gcc-cd6b2fa0e7cc07a7007f4928813f14cc940c50d9.zip gcc-cd6b2fa0e7cc07a7007f4928813f14cc940c50d9.tar.gz gcc-cd6b2fa0e7cc07a7007f4928813f14cc940c50d9.tar.bz2 |
hook.in: Rename variable dir to dir_.
libstdc++-v3/
* python/hook.in: Rename variable dir to dir_.
Co-Authored-By: Jan Kratochvil <jan.kratochvil@redhat.com>
From-SVN: r162962
Diffstat (limited to 'libstdc++-v3/python')
-rw-r--r-- | libstdc++-v3/python/hook.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/python/hook.in b/libstdc++-v3/python/hook.in index d4c290f..c76d4a3 100644 --- a/libstdc++-v3/python/hook.in +++ b/libstdc++-v3/python/hook.in @@ -50,10 +50,10 @@ if gdb.current_objfile () is not None: 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 |