Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_control.py

    rd0912be r1ec5d4a  
    12471247                        "More than one project export is not supported")
    12481248
    1249         def add_services(svcs, type, slist, keys):
     1249        def add_services(svcs, type, slist):
    12501250            """
    1251             Add the given services to slist.  type is import or export.  Also
    1252             add a mapping entry from the assigned id to the original service
    1253             record.
     1251            Add the given services to slist.  type is import or export.
    12541252            """
    12551253            for i, s in enumerate(svcs):
    12561254                idx = '%s%d' % (type, i)
    1257                 keys[idx] = s
    12581255                sr = {'id': idx, 'name': s.name, 'visibility': type }
    12591256                if s.params:
     
    12971294        if import_svcs or export_svcs:
    12981295            slist = []
    1299             add_services(import_svcs, 'import', slist, e_keys)
    1300             add_services(export_svcs, 'export', slist, e_keys)
     1296            add_services(import_svcs, 'import', slist)
     1297            add_services(export_svcs, 'export', slist)
    13011298            req['service'] = slist
    13021299
Note: See TracChangeset for help on using the changeset viewer.