Skip to content

Commit 1eb3787

Browse files
committed
Fix merge conflict
1 parent 8361c6f commit 1eb3787

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

aikido_zen/background_process/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def start_background_process():
3737
if platform.system() == "Windows":
3838
# Python does not support Windows UDS just yet, so we have to rely on INET
3939
address = ("127.0.0.1", 49156)
40-
if os.getenv("AIKIDO_INET_ONLY") is "1":
40+
if os.getenv("AIKIDO_INET_ONLY") == "1":
4141
address = ("127.0.0.1", 49156)
4242

4343
comms = AikidoIPCCommunications(address, secret_key_bytes)

aikido_zen/sinks/builtins_import.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@
99

1010
@after
1111
def _import(func, instance, args, kwargs, return_value):
12-
try:
13-
if running_import_scan.get():
14-
return
15-
running_import_scan.set(True)
16-
17-
if not hasattr(return_value, "__package__"):
18-
return
19-
2012
try:
2113
if running_import_scan.get():
2214
return

0 commit comments

Comments
 (0)