From 16161fdb0a259cdb197444b0053d952b9c03a335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 22 Oct 2020 14:39:23 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Remove=20errant=20assert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The comment lies, it works just fine (for OctoPrint's purpose at least) --- src/octoprint/vendor/imp.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/octoprint/vendor/imp.py b/src/octoprint/vendor/imp.py index 921445ce4..66c417980 100644 --- a/src/octoprint/vendor/imp.py +++ b/src/octoprint/vendor/imp.py @@ -10,9 +10,6 @@ completely removed. Licensed under the PSF LICENSE AGREEMENT """ -import sys -assert sys.version_info[0] == 3 and sys.version_info[1] >= 5 # this only works on Python 3.5+ - # (Probably) need to stay in _imp # noinspection PyCompatibility from _imp import (lock_held, acquire_lock, release_lock,