Move reviews_for_bugs into reviewstats.

Change-Id: I4584b1fed09b0e10f144b9110457436dd04d601d
This commit is contained in:
Robert Collins 2013-11-25 07:16:20 +00:00 committed by Russell Bryant
parent 3e09039c02
commit e6d1ca533e
3 changed files with 2 additions and 6 deletions

View File

@ -15,5 +15,5 @@ metadata() {
for project in ${projects} ; do
project_base=$(basename $(echo ${project} | cut -f1 -d'.'))
(metadata && ./reviews_for_bugs.py -p ${project} ${EXTRA_ARGS}) > results/${project_base}-reviews-for-bugs.txt
(metadata && reviews_for_bugs -p ${project} ${EXTRA_ARGS}) > results/${project_base}-reviews-for-bugs.txt
done

View File

@ -1,5 +1,3 @@
#!/usr/bin/python
#
# Copyright 2013 Russell Bryant <rbryant@redhat.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
@ -91,6 +89,3 @@ def main():
print '--> %s -- https://bugs.launchpad.net/%s/+bug/%s' \
% (review, project_name, bugid)
print
if __name__ == '__main__':
sys.exit(main())

View File

@ -48,3 +48,4 @@ output_file = reviewstats/locale/reviewstats.pot
[entry_points]
console_scripts =
openapproved = reviewstats.cmd.openapproved:main
reviews_for_bugs = reviewstats.cmd.reviews_for_bugs:main