Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 9ce40ad

Browse files
committed
Fixed support for Py3.5 and OSX
1 parent 54510cc commit 9ce40ad

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

‎cpp/worker/executor.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <sys/types.h>
1818
#include <sys/wait.h>
1919
#include <unistd.h>
20+
#include <csignal>
2021

2122
#include <spawn.h>
2223

‎python/statements/oii_tex.py‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,9 @@
1616
from task_maker.task_maker_frontend import Frontend, Execution, File
1717
from typing import Optional, NamedTuple, List
1818

19-
20-
class ExtractPackagesResult(NamedTuple):
21-
"""
22-
Result of the extraction of the \\usepackage
23-
"""
24-
content: str
25-
packages: List[str]
19+
# Result of the extraction of the \\usepackage
20+
ExtractPackagesResult = NamedTuple("ExtractPackagesResult",
21+
[("content", str), ("packages", List[str])])
2622

2723

2824
def get_template_dir() -> str:

0 commit comments

Comments
 (0)