summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-03-26 18:13:16 +0100
committerKarel Klic <kklic@redhat.com>2010-03-26 18:13:16 +0100
commit8c7e119a4fe48b11801e9f9110ae0ec3ac728275 (patch)
treed17e5ccbf2dbe720fa6cc45d1e976224a26f1510
parentedfb0b013b35f6378df8d26f563a3dc0c427bbcd (diff)
downloadabrt-8c7e119a4fe48b11801e9f9110ae0ec3ac728275.tar.gz
abrt-8c7e119a4fe48b11801e9f9110ae0ec3ac728275.tar.xz
abrt-8c7e119a4fe48b11801e9f9110ae0ec3ac728275.zip
Use abrt-backtrace --rate, update pkgdb database path for the new pkgdb version
-rwxr-xr-xscripts/abrt-bz-ratingfixer4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/abrt-bz-ratingfixer b/scripts/abrt-bz-ratingfixer
index 9bdb1276..f774081d 100755
--- a/scripts/abrt-bz-ratingfixer
+++ b/scripts/abrt-bz-ratingfixer
@@ -118,7 +118,7 @@ for buginfo in buginfos:
continue
# Rate the backtrace using external program.
- command = ["./abrt-rate-backtrace"]
+ command = ["abrt-backtrace", "--rate"]
command.append(filename)
helper = subprocess.Popen(command, stdout=subprocess.PIPE)
rating, err = helper.communicate()
@@ -166,7 +166,7 @@ for id, bug in ids.items():
# Get the component owner
owner = "Failed to get component owner"
try:
- component_info = json.load(urllib.urlopen("https://admin.fedoraproject.org/pkgdb/packages/name/{0}?tg_format=json".format(bug['component'])))
+ component_info = json.load(urllib.urlopen("https://admin.fedoraproject.org/pkgdb/acls/name/{0}?tg_format=json".format(bug['component'])))
component_packages = component_info['packageListings']
component_f12 = filter(lambda x:x["collection"]["version"]=="12", component_packages)
if len(component_f12) == 1: