witten
/
luminotes
Archived
1
0
Fork 0

Fixed unit test by making Notebooks.export() look for AttributeError in addition to ImportError.

This commit is contained in:
Dan Helfman 2009-02-23 16:45:52 -08:00
parent e27cb4dcd1
commit 8003ae4107
1 changed files with 1 additions and 1 deletions

View File

@ -1236,7 +1236,7 @@ class Notebooks( object ):
notes = startup_notes + other_notes,
response_headers = cherrypy.response.headerMap,
)
except ImportError:
except ( ImportError, AttributeError ):
raise Validation_error( u"format", format, Valid_string, message = u"is unknown" )
@expose( view = Json )