duplicated class ImageDownloadModuleMetaDataError definition in exception.py

Bug #1223165 reported by wangpan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
wangpan

Bug Description

The below commit had a mistake which added two same classes 'ImageDownloadModuleMetaDataError':

commit 6f9ed562d5f6df1dc16029dcaffd4d2e6601099d
Author: John Bresnahan <email address hidden>
Date: Thu Jul 18 10:39:33 2013 -1000

    Add plug-in modules for direct downloads of glance locations

    ......

+class ImageDownloadModuleMetaDataError(ImageDownloadModuleError): # here
+ msg_fmt = _("The metadata for this location will not work with this "
+ "module %(module)s. %(reason)s.")
+
+
+class ImageDownloadModuleNotImplementedError(ImageDownloadModuleError):
+ msg_fmt = _("The method %(method_name)s is not implemented.")
+
+
+class ImageDownloadModuleMetaDataError(ImageDownloadModuleError): # and here
+ msg_fmt = _("The metadata for this location will not work with this "
+ "module %(module)s. %(reason)s.")
+
+
+class ImageDownloadModuleConfigurationError(ImageDownloadModuleError):
+ msg_fmt = _("The module %(module)s is misconfigured: %(reason)s.")

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/45812

Changed in nova:
assignee: nobody → wangpan (hzwangpan)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/45812
Committed: http://github.com/openstack/nova/commit/5107b6730340f52dc7fde5b3795ed7cc4e89ebd1
Submitter: Jenkins
Branch: master

commit 5107b6730340f52dc7fde5b3795ed7cc4e89ebd1
Author: Wangpan <email address hidden>
Date: Tue Sep 10 12:25:19 2013 +0800

    Removed duplicated class in exception.py

    This commit 6f9ed562d5f6df1dc16029dcaffd4d2e6601099d had a mistake
    which added two same classes ImageDownloadModuleMetaDataError to
    exception.py, clear it now.

    fixes bug 1223165
    Change-Id: I2e7a30a63ab24d1ffb9f33a14db65c6fb3594cb0

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → havana-rc1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.