8000 hotfix: import platform · bigcode-project/selfcodealign@12d157b · GitHub
[go: up one dir, main page]

Skip to content

Commit 12d157b

Browse files
committed
hotfix: import platform
1 parent 986238e commit 12d157b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/star_align/execution_filter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def make_python_membound_code_prefix(limit_mb):
2727
maximum_memory_bytes = limit_mb * 1024 * 1024
2828
return f"""\
2929
import resource
30+
import platform
3031
3132
resource.setrlimit(
3233
resource.RLIMIT_AS, ({maximum_memory_bytes}, {maximum_memory_bytes})

0 commit comments

Comments
 (0)
0