From 18df85f57c1969e874681436fce094e3edecb08a Mon Sep 17 00:00:00 2001 From: Eran Kampf Date: Fri, 8 Mar 2019 09:37:24 -0800 Subject: [PATCH] =?UTF-8?q?Remove=20unecessary=20=E2=80=98else=E2=80=99=20?= =?UTF-8?q?statement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- graphene/types/base.py | 2 -- graphene/types/scalars.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/graphene/types/base.py b/graphene/types/base.py index fa366a10..fdff106f 100644 --- a/graphene/types/base.py +++ b/graphene/types/base.py @@ -5,8 +5,6 @@ from ..utils.trim_docstring import trim_docstring if six.PY3: from typing import Type -else: - Type = type class BaseOptions(object): diff --git a/graphene/types/scalars.py b/graphene/types/scalars.py index 350e2a97..c5f43787 100644 --- a/graphene/types/scalars.py +++ b/graphene/types/scalars.py @@ -6,8 +6,6 @@ from .unmountedtype import UnmountedType if six.PY3: from typing import Any -else: - Any = object class ScalarOptions(BaseOptions):