diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2013-05-24 20:34:07 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2013-05-24 20:34:07 (GMT) |
commit | e09e8d30563ef70cf89656229639f50e90e008a4 (patch) | |
tree | 916ab6c696501319b30620d79926be5f91a6355c | |
parent | d97d9466307da8533f61b0bd6c3239b6d1b2c177 (diff) |
fix for genpot
-rw-r--r-- | libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py | 2 | ||||
-rw-r--r-- | libs/dev/mechanize-0.2.5/mechanize/_gzip.py | 2 | ||||
-rw-r--r-- | libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py | 2 | ||||
-rw-r--r-- | timelinelib/wxgui/components/cattree.py | 4 | ||||
-rw-r--r-- | timelinelib/wxgui/dialogs/eventeditor.py | 4 |
5 files changed, 10 insertions, 4 deletions
diff --git a/libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py b/libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py index 0040140..1634a3b 100644 --- a/libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py +++ b/libs/dev/mechanize-0.2.5/mechanize/_beautifulsoup.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + """Beautiful Soup Elixir and Tonic "The Screen-Scraper's Friend" diff --git a/libs/dev/mechanize-0.2.5/mechanize/_gzip.py b/libs/dev/mechanize-0.2.5/mechanize/_gzip.py index 7e9d6a0..093a9fb 100644 --- a/libs/dev/mechanize-0.2.5/mechanize/_gzip.py +++ b/libs/dev/mechanize-0.2.5/mechanize/_gzip.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + from cStringIO import StringIO import _response diff --git a/libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py b/libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py index 8af11c0..8108ca5 100644 --- a/libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py +++ b/libs/dev/mechanize-0.2.5/mechanize/_msiecookiejar.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + """Microsoft Internet Explorer cookie loading on Windows. Copyright 2002-2003 Johnny Lee <typo_pl@hotmail.com> (MSIE Perl code) diff --git a/timelinelib/wxgui/components/cattree.py b/timelinelib/wxgui/components/cattree.py index eb94c2f..9685491 100644 --- a/timelinelib/wxgui/components/cattree.py +++ b/timelinelib/wxgui/components/cattree.py @@ -236,8 +236,8 @@ def delete_category(parent_ctrl, db, cat, fn_handle_db_error): update_warning = _("Events belonging to '%s' will no longer " "belong to a category.") % cat.name else: - update_warning = _("Events belonging to '%s' will now belong " - "to '%s'.") % (cat.name, cat.parent.name) + update_warning = _("Events belonging to '%(name)s' will now belong to '%(parent)s'.") \ + % {'name': cat.name, 'parent': cat.parent.name} question = "%s\n\n%s" % (delete_warning, update_warning) if _ask_question(question, parent_ctrl) == wx.YES: try: diff --git a/timelinelib/wxgui/dialogs/eventeditor.py b/timelinelib/wxgui/dialogs/eventeditor.py index daa16e6..3139e66 100644 --- a/timelinelib/wxgui/dialogs/eventeditor.py +++ b/timelinelib/wxgui/dialogs/eventeditor.py @@ -453,8 +453,8 @@ class IconEditor(wx.Panel): self.MAX_SIZE = (128, 128) # Controls self.img_icon = wx.StaticBitmap(self, size=self.MAX_SIZE) - label = _("Images will be scaled to fit inside a %ix%i box.") - description = wx.StaticText(self, label=label % self.MAX_SIZE) + label = _("Images will be scaled to fit inside a 128x128 box.") + description = wx.StaticText(self, label=label) btn_select = wx.Button(self, wx.ID_OPEN) btn_clear = wx.Button(self, wx.ID_CLEAR) self.Bind(wx.EVT_BUTTON, self._btn_select_on_click, btn_select) |