All pastes #771131 Raw Edit

Mine

public text v1 · immutable
·published 2007-11-12 20:36 UTC
rendered paste body
import sys

ls = set()

stem = "private static final javax.xml.namespace.QName ns1_code_QNAME"

for line in sys.stdout:
    if line.lstrip().startswith(stem):
        if line not in ls:
            sys.stdout.write(line)
            ls.add(line)
    else:
        sys.stdout.write(line)