aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/command_script/import/foo
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
commit14f1b3e8826ce43b978db93a62d1166055db5394 (patch)
tree0a00ad8d3498783fe0193f3b656bca17c4c8697d /packages/Python/lldbsuite/test/functionalities/command_script/import/foo
parent4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/command_script/import/foo')
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/foo/bar/foobar.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo2.py10
3 files changed, 12 insertions, 8 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/bar/foobar.py b/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/bar/foobar.py
index 659ded22c901..6ef71064c9a9 100644
--- a/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/bar/foobar.py
+++ b/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/bar/foobar.py
@@ -1,5 +1,6 @@
from __future__ import print_function
+
def foo_function(debugger, args, result, dict):
- print("foobar says " + args, file=result)
- return None
+ print("foobar says " + args, file=result)
+ return None
diff --git a/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo.py b/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo.py
index 51cc0c3bab19..1ccc38929396 100644
--- a/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo.py
+++ b/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo.py
@@ -1,5 +1,6 @@
from __future__ import print_function
+
def foo_function(debugger, args, result, dict):
- print("foo says " + args, file=result)
- return None
+ print("foo says " + args, file=result)
+ return None
diff --git a/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo2.py b/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo2.py
index 6863454ca6ef..71657c299c21 100644
--- a/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo2.py
+++ b/packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo2.py
@@ -1,9 +1,11 @@
from __future__ import print_function
+
def foo2_function(debugger, args, result, dict):
- print("foo2 says " + args, file=result)
- return None
+ print("foo2 says " + args, file=result)
+ return None
+
def __lldb_init_module(debugger, session_dict):
- debugger.HandleCommand("command script add -f foo2.foo2_function foo2cmd")
- return None \ No newline at end of file
+ debugger.HandleCommand("command script add -f foo2.foo2_function foo2cmd")
+ return None