~yolanda.robla/glance/precise-security

« back to all changes in this revision

Viewing changes to glance/common/exception.py

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-04-12 09:52:06 UTC
  • mto: (50.1.2 precise-proposed)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20110412095206-8ynvol4gw0phuu30
Tags: upstream-2011.2~bzr108
ImportĀ upstreamĀ versionĀ 2011.2~bzr108

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
    pass
76
76
 
77
77
 
 
78
class MissingArgumentError(Error):
 
79
    pass
 
80
 
 
81
 
 
82
class DatabaseMigrationError(Error):
 
83
    pass
 
84
 
 
85
 
78
86
def wrap_exception(f):
79
87
    def _wrap(*args, **kw):
80
88
        try: