Mercurial > moin > 1.9
changeset 3368:000c9fb7efe0
merged main
author | Reimar Bauer <rb.proj AT googlemail DOT com> |
---|---|
date | Thu, 20 Mar 2008 21:36:03 +0100 |
parents | 48acb9e0a097 |
children | 73b64e4085ff |
files | MoinMoin/wikiutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py Thu Mar 20 21:20:41 2008 +0100 +++ b/MoinMoin/wikiutil.py Thu Mar 20 21:36:03 2008 +0100 @@ -1645,7 +1645,7 @@ Initialise a required_arg @param argtype: the type the argument should have """ - if not (argtype in (bool, int, long, float, complex, unicode) or + if not (argtype in (bool, int, long, float, complex, unicode, tuple, list) or isinstance(argtype, IEFArgument)): raise TypeError("argtype must be a valid type") self.argtype = argtype