[Lldb-commits] [lldb] r258448 - Fix TestImport.py to work with Python 3.5.
Adrian McCarthy via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 21 15:07:48 PST 2016
Author: amccarth
Date: Thu Jan 21 17:07:48 2016
New Revision: 258448
URL: http://llvm.org/viewvc/llvm-project?rev=258448&view=rev
Log:
Fix TestImport.py to work with Python 3.5.
Differential Revision: http://reviews.llvm.org/D16431
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py?rev=258448&r1=258447&r2=258448&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py Thu Jan 21 17:07:48 2016
@@ -1,5 +1,7 @@
-import TPunitA
-import TPunitB
+from __future__ import absolute_import
+
+from . import TPunitA
+from . import TPunitB
def __lldb_init_module(debugger,*args):
debugger.HandleCommand("command script add -f thepackage.TPunitA.command TPcommandA")
More information about the lldb-commits
mailing list