Skip to content

Commit e3c0dfc

Browse files
authored
Merge pull request #853 from icecube/flake8_f824
Remove global statements to fix new flake8 f824 error
2 parents d918d3b + c1ec34a commit e3c0dfc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pisa/utils/flavInt.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ class BarSep(object):
112112
113113
"""
114114
def __init__(self, val):
115-
global __BAR_SSEP__
116115
self.old_val = __BAR_SSEP__
117116
self.new_val = val
118117

@@ -151,7 +150,6 @@ def get_bar_ssep():
151150
Separator
152151
153152
"""
154-
global __BAR_SSEP__
155153
return __BAR_SSEP__
156154

157155

@@ -226,7 +224,6 @@ def __init__(self, val):
226224
type(orig_val)))
227225

228226
def __str__(self):
229-
global __BAR_SSEP__
230227
fstr = [s for s, code in self.fstr2code.items() if code == self.__flav]
231228
fstr = fstr[0]
232229
fstr = fstr.replace('bar', __BAR_SSEP__+'bar')

0 commit comments

Comments
 (0)