Changeset 1025


Ignore:
Timestamp:
09/01/06 12:15:29 (8 years ago)
Author:
mglb1
Message:

Fix typo in previous commit and import new symbols that are required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccsd/trunk/crcnetd/_utils/ccsd_cfengine.py

    r1024 r1025  
    10071007def getCfRunLogs(session_id): 
    10081008    """Returns the output of the last cfrun execution for all active hosts""" 
    1009     from crcnetd.modules.ccs_host import getHostList 
    1010     from crcnetd.modules.ccs_status import getHostStatus 
     1009    from crcnetd.modules.ccs_host import getHostList, getHostID 
     1010    from crcnetd.modules.ccs_status import getHostStatus, ccs_status_error, \ 
     1011            ccs_host_status 
    10111012    global _cfBaseDir, _cfrunStatus 
    10121013     
     
    10351036        except ccs_status_error: 
    10361037            # Create a blank status entry 
    1037             host_id = hostname = getHostID(ADMIN_SESSION_ID, hostname) 
     1038            host_id = getHostID(ADMIN_SESSION_ID, hostname) 
    10381039            hostStatus = ccs_host_status(ADMIN_SESSION_ID, host_id) 
    10391040        hosts[hostname]["active_rev"] = hostStatus.activeRevision 
Note: See TracChangeset for help on using the changeset viewer.