Changeset 705233b


Ignore:
Timestamp:
Jul 29, 2009 10:32:48 AM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
version-1.30
Children:
7321a43
Parents:
bc24428
Message:

Service_error is the wrong thing for the implementation to throw here, when the caller's expecting a RuntimeError?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/deter_impl.py

    rbc24428 r705233b  
    3939                    read_simple_accessdb(access_db, self.auth)
    4040                except IOError, e:
    41                     raise service_error(service_error.internal,
     41                    raise RuntimeError(
    4242                            "Error reading accessDB %s: %s" % (access_db, e))
    4343                except ValueError:
    44                     raise service_error(service_error.internal, "%s" % e)
     44                    raise RuntimeError("%s" % e)
    4545
    4646            if config.has_section("access"):
Note: See TracChangeset for help on using the changeset viewer.