Skip to content

Commit

Permalink
Remove duplicate func import
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 14, 2015
1 parent b77496e commit 3e5b91c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ def set_disk_usage( self, bytes ):
total_disk_usage = property( get_disk_usage, set_disk_usage )

def adjust_total_disk_usage( self, amount ):
from sqlalchemy import func
self.disk_usage = func.coalesce(self.table.c.disk_usage, 0) + amount

@property
Expand Down

0 comments on commit 3e5b91c

Please sign in to comment.