Show More
@@ -266,10 +266,13 b' def block_parser(part, rgxin, rgxout, fmtin, fmtout):' | |||||
266 | continue |
|
266 | continue | |
267 |
|
267 | |||
268 | if any( |
|
268 | if any( | |
269 |
line_stripped.startswith( |
|
269 | line_stripped.startswith("@" + pseudo_decorator) | |
270 | ): |
|
270 | for pseudo_decorator in PSEUDO_DECORATORS | |
|
271 | ): | |||
271 | if decorator: |
|
272 | if decorator: | |
272 | raise RuntimeError("Applying multiple pseudo-decorators on one line is not supported") |
|
273 | raise RuntimeError( | |
|
274 | "Applying multiple pseudo-decorators on one line is not supported" | |||
|
275 | ) | |||
273 | else: |
|
276 | else: | |
274 | decorator = line_stripped |
|
277 | decorator = line_stripped | |
275 | continue |
|
278 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now