This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
bs = 1024 * 1024 | |
zero = '\x00' | |
one = '\xFF' | |
count = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/source/packages/cbank/model/queries.py b/source/packages/cbank/mode | |
index c15a18c..f79778f 100644 | |
--- a/source/packages/cbank/model/queries.py | |
+++ b/source/packages/cbank/model/queries.py | |
@@ -209,6 +209,7 @@ def project_summary (projects, users=None, resources=None, | |
resources_ = Allocation.resource_id.in_( | |
resource.id for resource in resources) | |
allocations_q = allocations_q.filter(resources_) | |
+ holds_q = holds_q.filter(resources_) | |
charges_q = charges_q.filter(resources_) |
NewerOlder