From db684b402f2e29c4c27930d26d1ba27a8d806498 Mon Sep 17 00:00:00 2001 From: Merlin Mathesius Date: Jul 13 2017 17:41:47 +0000 Subject: Add comment explaining purpose of rpm.py file. --- diff --git a/roles/standard-test-beakerlib/files/rpm.py b/roles/standard-test-beakerlib/files/rpm.py index 304a654..dade015 100644 --- a/roles/standard-test-beakerlib/files/rpm.py +++ b/roles/standard-test-beakerlib/files/rpm.py @@ -1,5 +1,12 @@ #!/usr/bin/python +# The purpose of this file is to satisfy /usr/bin/beakerlib-journalling use of "import rpm", +# particularly on Atomic Host which doesn't have python2-rpm package. beakerlib-journalling +# does basically nothing interesting with the data, and just gets the version of the RPM. + +# Although tests that have been looked at so far work just fine with TransactionSet.dbMatch() +# returning empty results, it may be the case this needs to be extended to add further shim code. + class TransactionSet: def dbMatch(self, key, value): return []