chellow 1754563507.0.0__py3-none-any.whl → 1754570085.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of chellow might be problematic. Click here for more details.

@@ -46,15 +46,12 @@ def content(user_id, report_run_id, contract_id, months_length, finish_date):
46
46
  writer.writerow(titles)
47
47
 
48
48
  finish_date_ct = to_ct(finish_date)
49
- months = list(
50
- c_months_u(
51
- finish_year=finish_date_ct.year,
52
- finish_month=finish_date_ct.month,
53
- months=months_length,
54
- )
55
- )
56
49
 
57
- for month_start, month_finish in months:
50
+ for month_start, month_finish in c_months_u(
51
+ finish_year=finish_date_ct.year,
52
+ finish_month=finish_date_ct.month,
53
+ months=months_length,
54
+ ):
58
55
  missing_bills = {}
59
56
  missing_account = {}
60
57
  account_missing_tuple = hh_range(caches, month_start, month_finish)
@@ -127,10 +124,10 @@ def content(user_id, report_run_id, contract_id, months_length, finish_date):
127
124
  "market_role_code": contract.market_role.code,
128
125
  }
129
126
  missing_bills[era.id] = values
130
- for era_id, values in missing_bills.items():
131
- if len(missing_account[values["account"]]) > 0:
132
- writer.writerow(csv_make_val(values[t]) for t in titles)
133
- ReportRun.w_insert_row(report_run_id, "", titles, values, {})
127
+ for era_id, values in missing_bills.items():
128
+ if len(missing_account[values["account"]]) > 0:
129
+ writer.writerow(csv_make_val(values[t]) for t in titles)
130
+ ReportRun.w_insert_row(report_run_id, "", titles, values, {})
134
131
 
135
132
  except BaseException:
136
133
  msg = traceback.format_exc()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1754563507.0.0
3
+ Version: 1754570085.0.0
4
4
  Summary: Web Application for checking UK energy bills.
5
5
  Project-URL: Homepage, https://github.com/WessexWater/chellow
6
6
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
@@ -110,7 +110,7 @@ chellow/reports/report_g_supplies_snapshot.py,sha256=9xB6RDrnbgxuomMcP1b1yEP4kOn
110
110
  chellow/reports/report_g_supply_virtual_bill.py,sha256=EaYrB8PHJIXrUuhiZ7dwUlbNBkuyJebQHrdc308_z1o,3653
111
111
  chellow/reports/report_g_virtual_bills.py,sha256=20vHa5LGQwOAlJlaGJaGszZrrbT0PMOZJf6hSxU2hIQ,4528
112
112
  chellow/reports/report_g_virtual_bills_hh.py,sha256=gaiLEmKTpq6JsfZ1p0SdCDuPvzvigXp6z88gHRCA63w,3416
113
- chellow/reports/report_missing_bills.py,sha256=aCgpVpwjN7jKg1S_pnmnHgo9FKFFSThSkiEKAUYvtSo,6021
113
+ chellow/reports/report_missing_bills.py,sha256=-hVjmWctLtHBEBfCmYjKlVD3YT3R50cyb_fp2Ah88qE,5973
114
114
  chellow/reports/report_sscs.py,sha256=IZKSJJxWmqEV8PDs4YYGET0J_EKOQ6QHCKdVltA5haA,3242
115
115
  chellow/reports/report_supply_contacts.py,sha256=pvwlInaPYV_pa9MMK6vh854plHFwv3m5zo5xulR1g5I,3599
116
116
  chellow/static/css/chellow.css,sha256=dnkuj9Z1BCOV_L2Y26lDd2QlTmFFhATa1YvwPVch1Oc,5375
@@ -385,6 +385,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
385
385
  chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
386
386
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
387
387
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
388
- chellow-1754563507.0.0.dist-info/METADATA,sha256=R8Le0Q5w7V4RFwRlCIzr4mFwcvZQlZeLvI9Ffy9297I,12519
389
- chellow-1754563507.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
390
- chellow-1754563507.0.0.dist-info/RECORD,,
388
+ chellow-1754570085.0.0.dist-info/METADATA,sha256=cT0SgunJ0IL9NYi6VfbeqKP9zv6wvOrvhIOCz3t7v6U,12519
389
+ chellow-1754570085.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
390
+ chellow-1754570085.0.0.dist-info/RECORD,,