Skip to content

Commit

Permalink
temporarily disable IN-PR
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbellec committed Sep 24, 2018
1 parent 3999ce5 commit 3c5e4b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parsers/IN_PB.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def read_text_by_regex(regex, text):


def fetch_production(zone_key='IN-PB', session=None, target_datetime=None, logger=None):
raise ValueError('Parser temporarily disabled')
"""Fetch Punjab production"""
if target_datetime:
raise NotImplementedError('This parser is not yet able to parse past dates')
Expand Down Expand Up @@ -109,6 +110,7 @@ def read_punjab_consumption_date(date_text, time_text, current):


def fetch_consumption(zone_key='IN-PB', session=None, target_datetime=None, logger=None):
raise ValueError('Parser temporarily disabled')
"""Fetch Punjab consumption"""
if target_datetime:
raise NotImplementedError('This parser is not yet able to parse past dates')
Expand Down

0 comments on commit 3c5e4b9

Please sign in to comment.