Skip to content

Commit 5acfebc

Browse files
committed
0.4.4 update: suppress print messages in crackfortran
1 parent 7eea69d commit 5acfebc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = 'sphinxfortran_ng'
3-
version = '0.4.3'
3+
version = '0.4.4'
44
authors = [{name = "Lorenzo Crippa", email="[email protected]"}]
55
description = "An improved version of the sphinx-fortran python module"
66
readme = "README.md"

src/sphinxfortran_ng/crackfortran_for_sphinx.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ def analyzeline(m, case, line):
12351235
if case in ['public', 'private']:
12361236
k = ''
12371237
else:
1238-
print(m.groupdict())
1238+
#print(m.groupdict())
12391239
outmess('analyzeline: no name pattern found in %s statement for %s. Skipping.\n' % (
12401240
case, repr(e)))
12411241
continue
@@ -1552,7 +1552,7 @@ def analyzeline(m, case, line):
15521552
else:
15531553
pass
15541554
else:
1555-
print(m.groupdict())
1555+
#print(m.groupdict())
15561556
outmess('analyzeline: Could not crack the use statement.\n')
15571557
elif case in ['f2pyenhancements']:
15581558
if 'f2pyenhancements' not in groupcache[groupcounter]:
@@ -1575,7 +1575,7 @@ def analyzeline(m, case, line):
15751575
m.group('this'))
15761576
else:
15771577
if verbose > 1:
1578-
print(m.groupdict())
1578+
#print(m.groupdict())
15791579
outmess('analyzeline: No code implemented for line.\n')
15801580

15811581

0 commit comments

Comments
 (0)