Re: [Freeipa-devel] [PATCH 48/48] Ticket #1879 - IPAdmin undefined anonymous parameter lists

2011-11-29 Thread Martin Kosek
On Tue, 2011-10-04 at 14:26 +0200, Jan Cholasta wrote: > On 26.9.2011 21:52, John Dennis wrote: > > The IPAdmin class in ipaserver/ipaldap.py has methods with anonymous > > undefined parameter lists. > > > > For example: > > > > def getList(self,*args): > > > > In Python syntax this means you

Re: [Freeipa-devel] [PATCH 48/48] Ticket #1879 - IPAdmin undefined anonymous parameter lists

2011-10-04 Thread Jan Cholasta
On 26.9.2011 21:52, John Dennis wrote: The IPAdmin class in ipaserver/ipaldap.py has methods with anonymous undefined parameter lists. For example: def getList(self,*args): In Python syntax this means you can call getList with any positional parameter list you want. This is bad because:

[Freeipa-devel] [PATCH 48/48] Ticket #1879 - IPAdmin undefined anonymous parameter lists

2011-09-26 Thread John Dennis
The IPAdmin class in ipaserver/ipaldap.py has methods with anonymous undefined parameter lists. For example: def getList(self,*args): In Python syntax this means you can call getList with any positional parameter list you want. This is bad because: 1) It's not true, *args gets passed to an