Changeset 0df6015 for fedd


Ignore:
Timestamp:
Nov 23, 2008 8:19:45 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
4064742
Parents:
b769892
Message:

lurking errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/authorizer.py

    rb769892 r0df6015  
    4141                if n:
    4242                    if not (isinstance(n, basestring) or isinstance(n, fedid)):
    43                         raise bad_name("names must be either a triple or " + \
    44                                 "a fedid")
     43                        raise self.bad_name("names must be either a " +\
     44                                "triple or a fedid")
    4545            for n in name:
    4646                if n:
     
    5555            return True
    5656        else:
    57             raise bad_name("Names must be a triple or a fedid (%s)" % name)
     57            raise self.bad_name("Names must be a triple or a fedid (%s)" % name)
    5858
    5959    def set_attribute(self, name, attr):
Note: See TracChangeset for help on using the changeset viewer.