Skip to content

Commit 140d712

Browse files
committed
remove py2 ABC compat
1 parent 2d3d6f3 commit 140d712

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

pycue/opencue/cuebot.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from __future__ import division
1919
from __future__ import absolute_import
2020

21-
from builtins import object
2221
from random import shuffle
2322
import abc
2423
import time
@@ -456,11 +455,7 @@ def __call__(self, *args, **kwargs):
456455
return self
457456

458457

459-
# Python 2/3 compatible implementation of ABC
460-
ABC = abc.ABCMeta('ABC', (object,), {'__slots__': ()})
461-
462-
463-
class SleepingPolicy(ABC):
458+
class SleepingPolicy(abc.ABC):
464459
"""
465460
Implement policy for sleeping between API retries
466461
"""

0 commit comments

Comments
 (0)