Set default argument value.

Without this features/feature_mechanisms/mechanisms.py throws an error when calling the method `process' without arguments on this mechanism.
This commit is contained in:
Rodolfo Henrique Carvalho 2012-01-22 01:53:07 -02:00
parent 25f87607aa
commit 5f1d4ce433

View file

@ -33,7 +33,7 @@ class CRAM_MD5(Mechanism):
if 'savepass' not in self.values:
del self.values['password']
def process(self, challenge):
def process(self, challenge=None):
"""
"""
if challenge is None: