You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pathA should be excluded, but pathX should be included. However the setting to '' before the for loop means that once an exclude line is encountered, all subsequent ones will be excluded:
else: # Ordinary workspace views which allow exclusions
exclude = ''
for v in self.options.views:
lhs = v['src']
if lhs[0] == '-':
exclude = '-'
The code should probably reset exclude to '' inside the loop:
else: # Ordinary workspace views which allow exclusions
for v in self.options.views:
lhs = v['src']
if lhs[0] == '-':
exclude = '-'
lhs = lhs[1:]
else:
exclude = ''
The text was updated successfully, but these errors were encountered:
The following lines won't generate a spec as intended:
will result in:
pathA
should be excluded, butpathX
should be included. However the setting to''
before thefor
loop means that once an exclude line is encountered, all subsequent ones will be excluded:The code should probably reset exclude to
''
inside the loop:The text was updated successfully, but these errors were encountered: