summaryrefslogtreecommitdiff
path: root/sphinx/builders/gettext.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-03-02 08:50:10 +0100
committerGeorg Brandl <georg@python.org>2014-03-02 08:50:10 +0100
commit85ddf03f45f79a0bc7d20fcceba0057a72452fd1 (patch)
tree49f519acf9c000d0fa4deefc94f7ac45498f7ac0 /sphinx/builders/gettext.py
parentdb0f7ccc705b37617faf7c6139e96dc826dfdb22 (diff)
parentcae4910527c549e83b8b63e88c90324113846f70 (diff)
downloadsphinx-git-85ddf03f45f79a0bc7d20fcceba0057a72452fd1.tar.gz
merge with stable
Diffstat (limited to 'sphinx/builders/gettext.py')
-rw-r--r--sphinx/builders/gettext.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py
index 06ea45055..e25e780a9 100644
--- a/sphinx/builders/gettext.py
+++ b/sphinx/builders/gettext.py
@@ -56,7 +56,8 @@ class Catalog(object):
def add(self, msg, origin):
if not hasattr(origin, 'uid'):
- # Nodes that are replicated like todo don't have a uid, however i18n is also unnecessary.
+ # Nodes that are replicated like todo don't have a uid,
+ # however i18n is also unnecessary.
return
if msg not in self.metadata: # faster lookup in hash
self.messages.append(msg)