Changeset 139e2e2


Ignore:
Timestamp:
May 18, 2010 4:04:12 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
85bba36
Parents:
023e79b
Message:

Whoops. This doesn't fail of there is no direct_transit configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_control.py

    r023e79b r139e2e2  
    271271                "ssh_privkey_file")
    272272        dt = config.get("experiment_control", "direct_transit")
    273         self.direct_transit = [ tb.strip() for tb in dt.split(",")]
     273        if dt: self.direct_transit = [ tb.strip() for tb in dt.split(",")]
     274        else: self.direct_transit = [ ]
    274275        # NB for internal master/slave ops, not experiment setup
    275276        self.ssh_type = config.get("experiment_control", "sshkeytype", "rsa")
Note: See TracChangeset for help on using the changeset viewer.