diff --git a/src/codesnipper.egg-info/PKG-INFO b/src/codesnipper.egg-info/PKG-INFO index 74ef0f8844cc2c329b2c5963bc638b14913305f0..e3596946735e4d492ad83fa8a318b20bb7bcee57 100644 --- a/src/codesnipper.egg-info/PKG-INFO +++ b/src/codesnipper.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: codesnipper -Version: 0.1.18.15 +Version: 0.1.18.16 Summary: A lightweight framework for censoring student solutions files and extracting code + output Home-page: https://lab.compute.dtu.dk/tuhe/snipper Author: Tue Herlau diff --git a/src/snipper/block_parsing.py b/src/snipper/block_parsing.py index 981e48cdebd30470c2ac5cdf2379423a8a4ad152..a56bdb8f826c71a4aee716c15c2789d906030cb3 100644 --- a/src/snipper/block_parsing.py +++ b/src/snipper/block_parsing.py @@ -37,11 +37,11 @@ def block_split(lines, tag): def get_tag_args(line): # line = line.strip() k = line.find(" ") - if 'nodoc' in line: - print("Nodoc!!") + # if 'nodoc' in line: + # print("Nodoc!!") tag_args = ((line[:k + 1] if k >= 0 else line)[len(tag):] ).strip().split(";") - if 'nodoc' in tag_args: - print("nodoc.") + # if 'nodoc' in tag_args: + # print("nodoc.") tag_args = [t.strip() for t in tag_args] # if len(tag_args) == 0: diff --git a/src/snipper/fix_s.py b/src/snipper/fix_s.py index 5f0a9b76380c8bca07d8bb3e359a5adc15948e5a..e48114e7bd504b46e43269b45d5195cb0768883f 100644 --- a/src/snipper/fix_s.py +++ b/src/snipper/fix_s.py @@ -19,7 +19,7 @@ def get_s(lines): print("asdfasdfs") if 'nodoc' in c['start_tag_args'] and c['start_tag_args']['nodoc']: c['block'] = rm_docstring(c['block']) - print("No documentation!") + # print("No documentation!") blocks[c['name']].append(c) output = {}