Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a4dca19

Browse filesBrowse 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
Copy full SHA for a4dca19

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.