Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions clcache/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import os
import pickle
import re
import signal
import subprocess
import sys
import threading
Expand Down Expand Up @@ -1513,15 +1512,7 @@ def createManifestEntry(manifestHash, includePaths):
return ManifestEntry(safeIncludes, includesContentHash, cachekey)


def installSignalHandlers():
# Ignore Ctrl-C and SIGTERM signals to avoid corrupting the cache
signal.signal(signal.SIGINT, signal.SIG_IGN)
signal.signal(signal.SIGTERM, signal.SIG_IGN)

def main():

installSignalHandlers()

if len(sys.argv) == 2 and sys.argv[1] == "--help":
print("""
clcache.py v{}
Expand Down