Changeset ba07149 for fedd/federation


Ignore:
Timestamp:
Apr 9, 2014 9:54:09 AM (11 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
c259a77
Parents:
d846cbe
Message:

Make a couple error messages clearer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/desktop_access.py

    rd846cbe rba07149  
    253253            if len(c.interface) > 1:
    254254                raise service_error(service_error.req,
    255                         "Desktop Node has more than one interface")
     255                        "Topology: Desktop Node has more than one interface")
    256256            i  = c.interface[0]
    257257            if len(i.subs) > 1:
    258258                raise service_error(service_error.req,
    259                         "Desktop Node has more than one substate on interface")
     259                        "Topology: Desktop Node has more than " +\
     260                        "one substate on interface")
    260261            sub = i.subs[0]
    261262            for i in sub.interfaces:
    262263                if i.element not in comps:
    263264                    raise service_error(service_error.req,
    264                             "Desktop Node connected to non-portal")
     265                            "Topology: Desktop Node connected to non-portal")
    265266
    266267        if portals > 1:
Note: See TracChangeset for help on using the changeset viewer.