Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4dca19

Browse files
committed
Remove mod_python specific code.
This was added in 204a692/061d2d5 back when we were parsing sys.argv to extract the --verbosity flags, but we're not doing that anymore. Also note that mod_python has seen no release for 6y and appears to be mostly dead per http://blog.dscpl.com.au/2010/06/modpython-project-is-now-officially.html https://en.wikipedia.org/wiki/Mod_python
1 parent 3c58e2a commit a4dca19

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/matplotlib/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,6 @@ def _check_versions():
192192
_check_versions()
193193

194194

195-
if not hasattr(sys, 'argv'): # for modpython
196-
sys.argv = ['modpython']
197-
198-
199195
# The decorator ensures this always returns the same handler (and it is only
200196
# attached once).
201197
@functools.lru_cache()

0 commit comments

Comments
 (0)