Skip to content

Commit e3530b9

Browse files
committed
don't need enum
1 parent 635d94a commit e3530b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ipyparallel/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import sys
1414
import warnings
1515
from datetime import datetime, timezone
16-
from enum import Enum
1716
from functools import lru_cache, partial
1817
from signal import SIGABRT, SIGINT, SIGTERM, signal
1918
from threading import Thread, current_thread
@@ -841,6 +840,6 @@ def _wrapped_target(self, target, *args, **kwargs):
841840

842841
# minimal subset of TermColors, removed from IPython
843842
# not for public consumption
844-
class _TermColors(Enum):
843+
class _TermColors:
845844
Normal = '\033[0m'
846845
Red = '\033[0;31m'

0 commit comments

Comments
 (0)