~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/scripts/listteammembers.py

  • Committer: Curtis Hovey
  • Date: 2010-04-06 20:07:30 UTC
  • mfrom: (7675.616.3 production-stable)
  • mto: This revision was merged to the branch mainline in revision 10650.
  • Revision ID: curtis.hovey@canonical.com-20100406200730-s3tz53o9pb4xxp2h
Merged nick's fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
                    type_name = 'Unknown key type'
57
57
                params = dict(
58
58
                    name=member.name,
59
 
                    sshkey="%s %s %s" % (type_name, key.keytext, 
60
 
                        key.comment.strip())
 
59
                    sshkey="%s %s %s" % (type_name,
 
60
                        key.keytext.translate(None, '\r\n\f'),
 
61
                        key.comment.translate(None, '\r\n\f').strip())
61
62
                    )
62
63
                output.append(template % params)
63
64
        # Ubuntite