Commits

Katsunori FUJIWARA committed 6ff9623

omit "::" check for not-yet-translated messages

  • Participants
  • Parent commits 4ec5c8a

Comments (0)

Files changed (1)

             (msgids[1][0] in titlemarks))
 
 def check_rst_error(msgs):
-    if infostock[0].endswith('::') and not infostock[1].endswith('::'):
+    if (infostock[1] and
+        infostock[0].endswith('::') and not infostock[1].endswith('::')):
         msgs.append('translation forgot "::" at the end of message')
 
     msgids = infostock[0].split('\\n')