Skip to content

Commit 4237333

Browse files
committed
Minor nuisance patch
1 parent 78e503d commit 4237333

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

sqlmap.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import traceback
1717
import warnings
1818

19+
sys.dont_write_bytecode = True
20+
1921
warnings.filterwarnings(action="ignore", message=".*was already imported", category=UserWarning)
2022
warnings.filterwarnings(action="ignore", category=DeprecationWarning)
2123

sqlmapapi.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
import logging
99
import optparse
10+
import sys
11+
12+
sys.dont_write_bytecode = True
1013

1114
from lib.utils import versioncheck # this has to be the first non-standard import
1215

0 commit comments

Comments
 (0)