From e1ff76ba9f20acdbb65d54ef2e1a327741aabfa8 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 19 Jul 2012 22:19:39 -0400 Subject: [PATCH] gettattr -> getattr --- earwigbot/wiki/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/site.py b/earwigbot/wiki/site.py index 46b5a4b..96bb622 100644 --- a/earwigbot/wiki/site.py +++ b/earwigbot/wiki/site.py @@ -447,7 +447,7 @@ class Site(object): """ if hasattr(self._cookiejar, "save"): try: - gettattr(self._cookiejar, "save")() + getattr(self._cookiejar, "save")() except (NotImplementedError, ValueError): pass