details: http://www.bx.psu.edu/hg/galaxy/rev/e7c679451988 changeset: 1680:e7c679451988 user: Greg Von Kuster greg@bx.psu.edu date: Fri Dec 19 10:55:42 2008 -0500 description: Fix for deleted histories report in the system controller.
1 file(s) affected in this change:
lib/galaxy/webapps/reports/controllers/system.py
diffs (14 lines):
diff -r 48f3b242c75e -r e7c679451988 lib/galaxy/webapps/reports/controllers/system.py --- a/lib/galaxy/webapps/reports/controllers/system.py Fri Dec 19 09:53:32 2008 -0500 +++ b/lib/galaxy/webapps/reports/controllers/system.py Fri Dec 19 10:55:42 2008 -0500 @@ -89,8 +89,8 @@
histories = h.query().filter( where ).options( eagerload( 'datasets' ) ) for history in histories: - for dataset in history.datasets: - if not dataset.purged: + for hda in history.datasets: + if not hda.dataset.purged: dataset_count += 1 try: disk_space += dataset.file_size
galaxy-dev@lists.galaxyproject.org