From f3fec5c791bf0fa2dc6ffe237fae57b0524fc3ae Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Fri, 2 May 2008 16:15:39 +0000 Subject: [PATCH] oups, syntax error --- src/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 0d6474878..5e73d8bb5 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1129,13 +1129,13 @@ class FileChooserDialog(gtk.FileChooserDialog): def just_destroy(self, widget): self.destroy() -class BindPortError(): +class BindPortError: def __init__(self, port): ErrorDialog(_('Unable to bind to port %s.') % port, _('Maybe you have another running instance of Gajim. ' 'File Transfer will be cancelled.')) -class AspellDictError(): +class AspellDictError: def __init__(self, lang): ErrorDialog( _('Dictionary for lang %s not available') % lang,