remove dead code in updated

old-commit-hash: 21a1792f895e006fd70883b5621989e01b539693
This commit is contained in:
Adeeb Shihadeh
2020-08-17 16:21:55 -07:00
parent 0fac431c58
commit b2e40a7487
-9
View File
@@ -31,7 +31,6 @@ import signal
import fcntl
import time
import threading
from cffi import FFI
from pathlib import Path
from common.basedir import BASEDIR
@@ -52,14 +51,6 @@ OVERLAY_MERGED = os.path.join(STAGING_ROOT, "merged")
FINALIZED = os.path.join(STAGING_ROOT, "finalized")
# Workaround for lack of os.link in the NEOS/termux python
ffi = FFI()
ffi.cdef("int link(const char *oldpath, const char *newpath);")
libc = ffi.dlopen(None)
def link(src, dest):
return libc.link(src.encode(), dest.encode())
class WaitTimeHelper:
def __init__(self, proc):
self.proc = proc