From 61c009a39344c6a6b87ed88f73e3f2f475b61f91 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 5 Nov 2020 19:55:18 +0100 Subject: [PATCH] revert get_data_mod change (Vexrisv SMP repo has been renamed to pythondata-cpu-vexriscv_smp). --- litex/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litex/__init__.py b/litex/__init__.py index 897bfd297..5f37b49da 100644 --- a/litex/__init__.py +++ b/litex/__init__.py @@ -11,8 +11,6 @@ def get_data_mod(data_type, data_name): dm = l['dm'] return dm except ImportError as e: - data_type = data_type.replace("_", "-") - data_name = data_name.replace("_", "-") raise ImportError("""\ pythondata-{dt}-{dn} module not installed! Unable to use {dn} {dt}. {e}