Skip to content

Commit

Permalink
Merge pull request #1346 from dumindux/Change_WaveunitNotFoundError_e…
Browse files Browse the repository at this point in the history
…xception_msg

WaveunitNotFoundError_msg_changed
  • Loading branch information
Cadair committed Mar 23, 2015
2 parents db7bbc4 + 6679254 commit adf5ac9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sunpy/database/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def __init__(self, obj):
self.obj = obj

def __str__(self): # pragma: no cover
return 'the wavelength unit cannot be found in {0}'.format(self.obj)
return 'the wavelength unit cannot be found in {0}'.format(self.obj) + \
' and default_waveunit not specified when opening the database'


class WaveunitNotConvertibleError(Exception):
Expand Down

0 comments on commit adf5ac9

Please sign in to comment.