File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ def tests(session, django):
9292 if session .posargs :
9393 args = []
9494 for arg in session .posargs :
95- args .extend (arg .split (" " ))
95+ if arg :
96+ args .extend (arg .split (" " ))
9697 command .extend (args )
9798 session .run (* command )
9899
@@ -113,7 +114,8 @@ def coverage(session):
113114 if session .posargs :
114115 args = []
115116 for arg in session .posargs :
116- args .extend (arg .split (" " ))
117+ if arg :
118+ args .extend (arg .split (" " ))
117119 command .extend (args )
118120 session .run (* command )
119121 finally :
@@ -163,7 +165,8 @@ def types(session):
163165 if session .posargs :
164166 args = []
165167 for arg in session .posargs :
166- args .extend (arg .split (" " ))
168+ if arg :
169+ args .extend (arg .split (" " ))
167170 command .extend (args )
168171 session .run (* command )
169172
You can’t perform that action at this time.
0 commit comments