Commit df18b5a2 authored by haileyschoelkopf's avatar haileyschoelkopf
Browse files

remove sh() util

parent 41677741
......@@ -22,15 +22,6 @@ from itertools import islice
from lm_eval.logger import eval_logger
class ExitCodeError(Exception):
pass
def sh(x):
if os.system(x):
raise ExitCodeError()
def escaped_split(text, sep_char, maxsplit=-1):
"""Split text into a list on occurrences of the given separation
character `sep_char`. The separation character may be escaped by a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment