Changeset 0ea75d2 for fedd/federation


Ignore:
Timestamp:
May 24, 2010 3:22:07 AM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
0863dd1
Parents:
11867dde
Message:

Plain bug. Don't know how this survived so long.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_partition.py

    r11867dde r0ea75d2  
    422422
    423423                new_portal = False
    424                 dname = "-".join(split_testbed(dt))
    425                 sname = "-".join(split_testbed(st))
     424                if testbed_suffix(dt): dname = "-".join(split_testbed(dt))
     425                else: dname = dt
     426
     427                if testbed_suffix(st): sname = "-".join(split_testbed(st))
     428                else: sname = st
     429
    426430                if portals[st].has_key(dt):
    427431                    # There's a portal set up to go to this destination.
Note: See TracChangeset for help on using the changeset viewer.