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

Skip to content

Commit 3b15ce4

Browse files
committed
fixed a bug in doc/make.py, small_docs was not defined when make.py was
run without options svn path=/trunk/matplotlib/; revision=6655
1 parent cf085be commit 3b15ce4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/make.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ def all():
9595
}
9696

9797

98+
small_docs = False
99+
98100
if len(sys.argv)>1:
99101
if '--small' in sys.argv[1:]:
100102
small_docs = True
101103
sys.argv.remove('--small')
102-
else:
103-
small_docs = False
104104
for arg in sys.argv[1:]:
105105
func = funcd.get(arg)
106106
if func is None:

0 commit comments

Comments
 (0)