From c1ec34a2c03c921d2670059b1fa5f89b34bb122e Mon Sep 17 00:00:00 2001 From: T Ehrhardt Date: Fri, 11 Apr 2025 13:46:54 +0200 Subject: [PATCH] fix new flake8 f824 error --- pisa/utils/flavInt.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pisa/utils/flavInt.py b/pisa/utils/flavInt.py index 4d7758443..248c0c5a2 100644 --- a/pisa/utils/flavInt.py +++ b/pisa/utils/flavInt.py @@ -112,7 +112,6 @@ class BarSep(object): """ def __init__(self, val): - global __BAR_SSEP__ self.old_val = __BAR_SSEP__ self.new_val = val @@ -151,7 +150,6 @@ def get_bar_ssep(): Separator """ - global __BAR_SSEP__ return __BAR_SSEP__ @@ -226,7 +224,6 @@ def __init__(self, val): type(orig_val))) def __str__(self): - global __BAR_SSEP__ fstr = [s for s, code in self.fstr2code.items() if code == self.__flav] fstr = fstr[0] fstr = fstr.replace('bar', __BAR_SSEP__+'bar')