Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a typo in an exception message #564

Merged
merged 5 commits into from
Aug 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pandas_datareader/moex.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def url(self):
"""Return a list of API URLs per symbol"""

if not self.__engines or not self.__markets:
raise Exception("Accesing url property accessed before "
"invocation of read() or _get_metadata() methods")
raise Exception("Accessing url property before invocation "
"of read() or _get_metadata() methods")

return [self.__url_data.format(
engine=self.__engines[s],
Expand Down Expand Up @@ -169,7 +169,7 @@ def read(self):
return dfs[0]

def _read_url_as_String(self, url, params=None):
""" Open an url (and retry) """
"""Open an url (and retry)"""

response = self._get_response(url, params=params)
text = self._sanitize_response(response)
Expand All @@ -182,7 +182,7 @@ def _read_url_as_String(self, url, params=None):
return text

def _read_lines(self, input):
""" Return a pandas DataFrame from input """
"""Return a pandas DataFrame from input"""

rs = pd.read_csv(input, index_col='TRADEDATE', parse_dates=True, sep=';',
na_values=('-', 'null'))
Expand Down