Skip to content

Instantly share code, notes, and snippets.

View anderbubble's full-sized avatar

Jonathon Anderson anderbubble

View GitHub Profile
#!/usr/bin/env python
import sys
bs = 1024 * 1024
zero = '\x00'
one = '\xFF'
count = 0
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_)