test gwt change
This commit is contained in:
Binary file not shown.
@@ -144,10 +144,15 @@ class GwtRpcCountyProvider(GwtRpcBaseProvider, BaseCountyProvider):
|
||||
if stream[i] == region_type_id:
|
||||
try:
|
||||
p = i + 1
|
||||
served = stream[p] if stream[p+1] == integer_type_id else 0
|
||||
p += 2 if served > 0 else 1
|
||||
out = stream[p] if stream[p+1] == integer_type_id else 0
|
||||
p += 2 if out > 0 else 1
|
||||
|
||||
# Check for served customers, ensuring we don't read past the end of the stream
|
||||
served = stream[p] if p + 1 < len(stream) and stream[p+1] == integer_type_id else 0
|
||||
p += 2 # Always advance past value and type ID
|
||||
|
||||
# Check for customers out
|
||||
out = stream[p] if p + 1 < len(stream) and stream[p+1] == integer_type_id else 0
|
||||
p += 2 # Always advance past value and type ID
|
||||
|
||||
name_idx, cat_idx = stream[p], stream[p+1]
|
||||
|
||||
if cat_idx == county_type_id:
|
||||
|
||||
Reference in New Issue
Block a user