Show More
@@ -191,10 +191,9 b' class queue:' | |||
|
191 | 191 | return _('guard cannot be an empty string') |
|
192 | 192 | bad_chars = '# \t\r\n\f' |
|
193 | 193 | first = guard[0] |
|
194 |
f |
|
|
195 | if first == c: | |
|
194 | if first in '-+': | |
|
196 | 195 |
|
|
197 |
|
|
|
196 | (guard, first)) | |
|
198 | 197 | for c in bad_chars: |
|
199 | 198 | if c in guard: |
|
200 | 199 | return _('invalid character in guard %r: %r') % (guard, c) |
General Comments 0
You need to be logged in to leave comments.
Login now