From 9594f7baa8b67f065a364c81c6bed79008143c10 Mon Sep 17 00:00:00 2001 From: Isaac Turner Date: Mon, 29 Apr 2024 09:35:16 +0800 Subject: [PATCH] Remove CommandBase check Since https://github.com/wpilibsuite/allwpilib/pull/6545 it doesn't exist in WPILib anymore --- commands2/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/commands2/__init__.py b/commands2/__init__.py index 2b64950..1823bf1 100644 --- a/commands2/__init__.py +++ b/commands2/__init__.py @@ -85,10 +85,4 @@ def __getattr__(attr): ) return Subsystem - if attr == "CommandBase": - import warnings - - warnings.warn("CommandBase is deprecated", DeprecationWarning, stacklevel=2) - return Command - raise AttributeError(f"module {__name__!r} has no attribute {attr!r}")