[Lldb-commits] [PATCH] D16431: Fix TestImport.py to work with Python 3.5.

Adrian McCarthy via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 21 15:11:40 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL258448: Fix TestImport.py to work with Python 3.5. (authored by amccarth).

Changed prior to commit:
  http://reviews.llvm.org/D16431?vs=45600&id=45603#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D16431

Files:
  lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py

Index: lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py
@@ -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")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16431.45603.patch
Type: text/x-patch
Size: 659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160121/8f49c541/attachment.bin>


More information about the lldb-commits mailing list