diff --git a/src/snipper/__pycache__/block_parsing.cpython-38.pyc b/src/snipper/__pycache__/block_parsing.cpython-38.pyc index cb029cce281298d5b7f761b09068fdbd689ab7af..c0381cb2e030f70d1fb883d7e226012dc67a508b 100644 Binary files a/src/snipper/__pycache__/block_parsing.cpython-38.pyc and b/src/snipper/__pycache__/block_parsing.cpython-38.pyc differ diff --git a/src/snipper/__pycache__/fix_bf.cpython-38.pyc b/src/snipper/__pycache__/fix_bf.cpython-38.pyc index cde78db9fdc1de042e6d4859666771c801ae6339..bc18996243ae1f5ef47e9efe7b95ebaaa7311a65 100644 Binary files a/src/snipper/__pycache__/fix_bf.cpython-38.pyc and b/src/snipper/__pycache__/fix_bf.cpython-38.pyc differ diff --git a/src/snipper/fix_bf.py b/src/snipper/fix_bf.py index 00fb61da60310a0284258ae694c5477bcb9e880e..64f33fbb5d1ffb185fd5615a6a4541689e39b3d0 100644 --- a/src/snipper/fix_bf.py +++ b/src/snipper/fix_bf.py @@ -69,7 +69,7 @@ def fix_f(lines, debug, keep=False): return lines2 # stats = {'n': 0} -def _block_fun(lines, start_extra, end_extra, keep=False, permute=False, questionmarks=false, halfquestionmarks=False, silent=False): +def _block_fun(lines, start_extra, end_extra, keep=False, permute=False, questionmarks=False, halfquestionmarks=False, silent=False): methods = {'remove': 0} # if method not in ['remove', 'permute', 'questionmark', 'halfquestionmark']: # assert False @@ -124,15 +124,11 @@ def fix_b(lines, keep=False): if b == None: break args = {k:v for k, v in b['start_tag_args'].items() if len(k) > 0} -<<<<<<< HEAD cutout.append( b['block'] ) b['block'], dn = _block_fun(b['block'], start_extra=b['arg1'], end_extra=b['arg2'], **args, keep=keep) -======= - cutout += b['block'] + # cutout += b['block'] # method = b['start_tag_args'].get('', 'remove') - b['block'], dn = _block_fun(b['block'], start_extra=b['arg1'], end_extra=b['arg1'], **args, keep=keep) - ->>>>>>> 1006ff966030717f7654e4b98720394bb394bb57 + # b['block'], dn = _block_fun(b['block'], start_extra=b['arg1'], end_extra=b['arg1'], **args, keep=keep) lines = block_join(b) # cutout +_= n += dn