[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#545848: python-enchant: Typo in method name in enchant/checker/__init__.py



On Wed, 2009-09-09 at 22:48 +0200, Piotr Ożarowski wrote:
> Release managers: can I upload pyenchant 1.4.2-3+lenny1 with this patch:
> 
> | --- enchant/checker/__init__.py.orig	2009-09-09 22:42:20.949143895 +0200
> | +++ enchant/checker/__init__.py	2009-09-09 22:42:35.564143851 +0200
> | @@ -284,7 +284,7 @@
> |          """
> |          if word is None:
> |              word = self.word
> | -        self.dict.add_to_personal(word)
> | +        self.dict.add(word)
> |      
> |      def suggest(self,word=None):
> |          """Return suggested spellings for the given word.
> 
> it's clearly a typo, version in stable returns:
> AttributeError: 'Dict' object has no attribute 'add_to_personal'

Yes, please go ahead.

Regards,

Adam


Reply to: