IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 8, 2011, 11:47:19 AM (15 years ago)
Author:
Serge CHASTEL
Message:

Localization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdor/src/executables/generate_fake_jobs.py

    r32874 r32902  
    44Generates the fake DAG and Condor jobs for one exposure
    55"""
     6import sys
    67from ipp.FakeManager import FakeManager as FakeManager
    7 
    8 import sys
    9 import os
    108
    119#################################################################
     
    2321    else:
    2422        RECIPIENT = 'schastel@ifa.hawaii.edu'
    25     if os.getenv('USER') == 'ippdor':
    26         FAKE_MANAGER = FakeManager(LABEL, EXPOSURE_NAME,
    27                                   recipient=RECIPIENT)
    28     else:
    29         FAKE_MANAGER = FakeManager(LABEL, EXPOSURE_NAME,
    30                                   recipient=RECIPIENT,
    31                                   host='ipp0012.ifa.hawaii.edu')
     23    FAKE_MANAGER = FakeManager(LABEL, EXPOSURE_NAME, RECIPIENT)
    3224    if STAGE == 'C010':
    3325        FAKE_MANAGER.build_new_fake_jobs()
Note: See TracChangeset for help on using the changeset viewer.