intltool-update -m warns about quoting in Python files

Bug #182604 reported by Richard Laager
2
Affects Status Importance Assigned to Milestone
intltool
Fix Released
Low
intltool (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: intltool

Please describe the problem:
The spurious warnings happen on code like this:
    if code == 102: # let's talk

As well as (and this is the more serious problem) any code that uses multiline
quotes:

"""This
is
all
one
string."""

Steps to reproduce:
1. Checkout Pidgin MTN
2. cd po
3. intltool-update -m

Actual results:
mismatched quotes at line 3 in ../finch/libgnt/pygnt/example/rss/gnthtml.py
mismatched quotes at line 22 in ../finch/libgnt/pygnt/example/rss/gnthtml.py
mismatched quotes at line 24 in ../finch/libgnt/pygnt/example/rss/gnthtml.py
mismatched quotes at line 27 in ../finch/libgnt/pygnt/example/rss/gnthtml.py
mismatched quotes at line 3 in ../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 22 in ../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 24 in ../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 36 in ../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 278 in ../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 3 in ../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 22 in ../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 24 in ../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 26 in ../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 86 in ../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 96 in ../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 212 in ../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 214 in ../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 29 in ../libpurple/plugins/startup.py
mismatched quotes at line 32 in ../libpurple/plugins/startup.py
mismatched quotes at line 3 in ./../finch/libgnt/pygnt/example/rss/gnthtml.py
mismatched quotes at line 22 in ./../finch/libgnt/pygnt/example/rss/gnthtml.py
mismatched quotes at line 24 in ./../finch/libgnt/pygnt/example/rss/gnthtml.py
mismatched quotes at line 27 in ./../finch/libgnt/pygnt/example/rss/gnthtml.py
mismatched quotes at line 3 in ./../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 22 in ./../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 24 in ./../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 36 in ./../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 278 in ./../finch/libgnt/pygnt/example/rss/gntrss-ui.py
mismatched quotes at line 3 in ./../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 22 in ./../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 24 in ./../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 26 in ./../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 86 in ./../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 96 in ./../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 212 in ./../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 214 in ./../finch/libgnt/pygnt/example/rss/gntrss.py
mismatched quotes at line 29 in ./../libpurple/plugins/startup.py
mismatched quotes at line 32 in ./../libpurple/plugins/startup.py

Expected results:
No warnings.

Does this happen every time?
Yes.

Related branches

Changed in intltool:
status: Unknown → Confirmed
Changed in intltool:
importance: Undecided → Low
status: New → Triaged
dobey (dobey)
Changed in intltool:
importance: Unknown → Critical
status: Confirmed → In Progress
dobey (dobey)
Changed in intltool:
status: In Progress → Fix Committed
milestone: none → 0.41.0
Changed in intltool:
importance: Critical → Unknown
status: Fix Committed → Fix Released
dobey (dobey)
Changed in intltool:
importance: Unknown → Critical
status: Fix Released → Fix Committed
dobey (dobey)
Changed in intltool:
status: Fix Committed → Fix Released
Changed in intltool:
importance: Critical → Unknown
Changed in intltool:
importance: Unknown → Low
Changed in intltool (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.