]> sourceware.org Git - bunsen.git/commitdiff
r-dejagnu-diff-logs: fix patched-unpatched typo
authorKeith Seitz <keiths@redhat.com>
Mon, 15 Aug 2022 16:25:24 +0000 (09:25 -0700)
committerKeith Seitz <keiths@redhat.com>
Mon, 22 Aug 2022 16:09:11 +0000 (09:09 -0700)
There is a little typo in get_commits() which could (or will) cause the
user some confusion. The unpatched and patched commits are reversed
because of a typo!

bin/r-dejagnu-diff-logs

index 2297b2a34913284ff7ed96d8433dd62c0ec297dc..2e595ae9f182469db9ebd55aec4f9c2c5b639c9c 100755 (executable)
@@ -97,8 +97,8 @@ def get_commits(testruns, args):
     unpatched_commit = None
     patched_commit = None
     try:
-        unpatched_commit = testruns.commit(args.patched)
-        patched_commit = testruns.commit(args.unpatched)
+        unpatched_commit = testruns.commit(args.unpatched)
+        patched_commit = testruns.commit(args.patched)
     except Exception as e:
         pass
     return (unpatched_commit, patched_commit)
This page took 0.024342 seconds and 5 git commands to generate.