@@ -297,7 +297,7 @@ class Downloader(object):
297297
298298 def shutdown (self ):
299299 '''Halt execution.'''
300- raise NotImplemented ()
300+ raise NotImplementedError ()
301301
302302 def stats (self ):
303303 '''Retrieve internal state of the Downloader.
@@ -311,7 +311,7 @@ def stats(self):
311311 - complete: `int` number of completed downloads
312312 - pending: `int` number of items awaiting download
313313 '''
314- raise NotImplemented ()
314+ raise NotImplementedError ()
315315
316316 def activate (self , items , asset_types ):
317317 '''Request activation of specified asset_types for the sequence of
@@ -320,7 +320,7 @@ def activate(self, items, asset_types):
320320 :param items: a sequence of Item representations.
321321 :param asset_types list: list of asset-type (str)
322322 '''
323- raise NotImplemented ()
323+ raise NotImplementedError ()
324324
325325 def download (self , items , asset_types , dest ):
326326 '''Request activation and download of specified asset_types for the
@@ -330,7 +330,7 @@ def download(self, items, asset_types, dest):
330330 :param asset_types list: list of asset-type (str)
331331 :param dest str: Download destination directory, must exist.
332332 '''
333- raise NotImplemented ()
333+ raise NotImplementedError ()
334334
335335 def on_complete (self , item , asset , path = None ):
336336 '''Notification of processing an item's asset, invoked on completion of
0 commit comments