Skip to content

Commit 3ecdcee

Browse files
authored
Please bandit, correct doc. (#856)
1 parent 2837760 commit 3ecdcee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/doxygen/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def which(program):
3030

3131
if which('doxygen') is not None:
3232
print("Building Doxygen API Documentation")
33-
os.system("doxygen .doxygen")
33+
os.system("doxygen .doxygen") #nosec
3434
if os.path.exists('../../../build'):
3535
shutil.move("html", "../../../build/doxygen")
3636
else: print("Doxygen not available...not building")

doc/api/pydoc/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def docmodule(self, object, name=None, mod=None, packageContext = None, *ignored
200200
for key, value in data:
201201
try:
202202
contents.append(self.document(value, key))
203-
except Exception:
203+
except Exception: #nosec
204204
pass
205205
result = result + self.bigsection(
206206
'Data', '#ffffff', '#55aa55', join(contents, '<br>\n'))

0 commit comments

Comments
 (0)