Be explicit about argumentChecker object

This commit is contained in:
Vincent Jacques
2012-03-16 07:53:33 +01:00
parent 0909fec395
commit d24cf209dd
27 changed files with 146 additions and 145 deletions
@@ -1,6 +1,6 @@
import itertools
class ArgumentsChecker:
class Parameters:
def __init__( self, mandatoryParameters, optionalParameters ):
self.__mandatoryParameters = mandatoryParameters
self.__optionalParameters = optionalParameters
@@ -34,3 +34,6 @@ class ArgumentsChecker:
return " " + mandatory + " "
else:
return " " + mandatory + ", " + optional + " "
def NoParameters():
return Parameters( [], [] )