public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qa-scripts:master commit in: pkgcheck2html/
Date: Sun,  4 Dec 2016 08:53:40 +0000 (UTC)	[thread overview]
Message-ID: <1480841609.61fc15ef48b0ffdabe101bb90a786600a6d56e1a.mgorny@gentoo> (raw)

commit:     61fc15ef48b0ffdabe101bb90a786600a6d56e1a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 08:53:29 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec  4 08:53:29 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=61fc15ef

pkgcheck2html: Add stdin support

 pkgcheck2html/pkgcheck2html.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkgcheck2html/pkgcheck2html.py b/pkgcheck2html/pkgcheck2html.py
index 466d8c1..44a9c2b 100755
--- a/pkgcheck2html/pkgcheck2html.py
+++ b/pkgcheck2html/pkgcheck2html.py
@@ -34,6 +34,8 @@ def result_sort_key(r):
 
 def get_results(input_paths, class_mapping):
     for input_path in input_paths:
+        if input_path == '-':
+            input_path = sys.stdin
         checks = xml.etree.ElementTree.parse(input_path).getroot()
         for r in checks:
             yield Result(r, class_mapping)


             reply	other threads:[~2016-12-04  8:53 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-04  8:53 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-04-15  6:54 [gentoo-commits] proj/qa-scripts:master commit in: pkgcheck2html/ Michał Górny
2018-01-06 19:16 Michał Górny
2017-12-22 22:28 Michał Górny
2017-12-18 15:41 Michał Górny
2017-12-17 10:51 Michał Górny
2017-12-17  9:32 Michał Górny
2017-12-17  9:30 Michał Górny
2017-12-12  7:58 Michał Górny
2017-10-04  8:44 Michał Górny
2017-10-02 15:26 Michał Górny
2017-10-02 14:54 Michał Górny
2017-10-02 14:54 Michał Górny
2017-09-03 20:04 Michał Górny
2017-08-08 21:33 Michał Górny
2017-08-04 21:50 Michał Górny
2017-07-05 11:28 Michał Górny
2017-06-19 18:45 Michał Górny
2017-06-19 16:14 Michał Górny
2017-05-30 21:48 Michał Górny
2017-05-14  6:53 Michał Górny
2017-05-13  9:53 Michał Górny
2017-05-11 12:12 Michał Górny
2017-03-04 10:25 Michał Górny
2017-01-27 20:09 Michał Górny
2017-01-14 16:25 Michał Górny
2016-12-04  8:50 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480841609.61fc15ef48b0ffdabe101bb90a786600a6d56e1a.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox