We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2520c08 commit 12eea5bCopy full SHA for 12eea5b
2 files changed
lambda_local/__init__.py
@@ -7,10 +7,11 @@
7
8
from __future__ import print_function
9
import argparse
10
-from main import run
11
import sys
12
from multiprocessing import Process
13
+from .main import run
14
+
15
16
def main():
17
args = parse_args()
@@ -46,5 +47,6 @@ def parse_args():
46
47
48
return parser.parse_args()
49
50
51
if __name__ == "__main__":
52
main()
lambda_local/main.py
@@ -13,10 +13,10 @@
import timeit
from botocore.vendored.requests.packages import urllib3
-import event
-import context
18
-from timeout import time_limit
19
-from timeout import TimeoutException
+from . import event
+from . import context
+from .timeout import time_limit
+from .timeout import TimeoutException
20
21
logging.basicConfig(stream=sys.stdout,
22
level=logging.INFO,
0 commit comments