diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2011-04-05 17:10:31 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-04-05 17:38:00 -0600 |
commit | fd2630366581049af6c9acc4b41315363b47b55a (patch) | |
tree | 8e17cdee3bfb7c9f1c30d793d1ce0267f1016e22 /numpy/lib/_datasource.py | |
parent | b2793ea74ea05bc64288287dd2efbe0dcae99534 (diff) | |
download | numpy-fd2630366581049af6c9acc4b41315363b47b55a.tar.gz |
STY: Fix up some remaining old-style exceptions.
I think that is the end of it.
Diffstat (limited to 'numpy/lib/_datasource.py')
-rw-r--r-- | numpy/lib/_datasource.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/_datasource.py b/numpy/lib/_datasource.py index ce6d2391b..390c56d36 100644 --- a/numpy/lib/_datasource.py +++ b/numpy/lib/_datasource.py @@ -633,7 +633,7 @@ class Repository (DataSource): """ if self._isurl(self._baseurl): - raise NotImplementedError, \ - "Directory listing of URLs, not supported yet." + raise NotImplementedError( + "Directory listing of URLs, not supported yet.") else: return os.listdir(self._baseurl) |