Skip to content

Commit

Permalink
Fix alignment in model
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Jul 13, 2015
1 parent 2c100d7 commit f623e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/model/__init__.py
Expand Up @@ -1218,8 +1218,8 @@ def get_disk_size( self, nice_size=False ):
func.sum( db_session.query( HistoryDatasetAssociation.dataset_id, Dataset.total_size ).join( Dataset )
.filter( HistoryDatasetAssociation.table.c.history_id == self.id )
.filter( HistoryDatasetAssociation.purged != true() )
.filter( Dataset.purged != true() )
.distinct().subquery().c.total_size ) ).first()[0]
.filter( Dataset.purged != true() )
.distinct().subquery().c.total_size ) ).first()[0]
if rval is None:
rval = 0
if nice_size:
Expand Down

0 comments on commit f623e28

Please sign in to comment.