Mercurial > ~astiob > upreckon > hgweb
comparison upreckon/config.py @ 222:d66d5823bb1a 2.03
Made positional argument presence force match='literal'
In particular, this fixes their wrong behaviour with match='re'.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Fri, 04 May 2012 17:17:30 +0100 |
parents | ede78fbd509a |
children | 715e3525a904 |
comparison
equal
deleted
inserted
replaced
216:b40e76b8e8b2 | 222:d66d5823bb1a |
---|---|
205 setattr(module, name, newmap) | 205 setattr(module, name, newmap) |
206 if options.no_maxtime: | 206 if options.no_maxtime: |
207 module.maxcputime = module.maxwalltime = 0 | 207 module.maxcputime = module.maxwalltime = 0 |
208 if args: | 208 if args: |
209 module.usegroups = False | 209 module.usegroups = False |
210 module.match = 'literal' | |
210 module.tests = args | 211 module.tests = args |
211 module.dummies = () | 212 module.dummies = () |
212 try: | 213 try: |
213 sys.dont_write_bytecode = dwb | 214 sys.dont_write_bytecode = dwb |
214 except NameError: | 215 except NameError: |