Use absolute imports in GDB scripts

Authored by rkapl on May 12 2017, 10:07 PM.

Description

Use absolute imports in GDB scripts

Summary:
Citing pep-0008:
"Implicit relative imports should never be used and have been removed in Python 3."

This fixes problems at least on Arch where gdb is compiled with python3.

Clone of https://github.com/KDE/kde-dev-scripts/pull/2. I was not sure about the reviewer, hope it's correct.

Reviewers: KDE Applications, scarpino

Reviewed By: scarpino

Subscribers: scarpino, ltoscano

Differential Revision: https://phabricator.kde.org/D5823

Details

Committed
ltoscanoMay 13 2017, 11:43 AM
Reviewer
scarpino
Differential Revision
D5823: Use absolute imports in GDB scripts
Parents
R230:7bf556985cd3: Fix infinite recursion in cxxmetric when having a dir with spaces.
Branches
Unknown
Tags
Unknown