Show
Ignore:
Timestamp:
07/21/04 11:35:48 (20 years ago)
Author:
jalet
Message:

Software accounting seems to be OK with LPRng support now

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/tool.py

    r1606 r1611  
    2222# 
    2323# $Log$ 
     24# Revision 1.115  2004/07/21 09:35:48  jalet 
     25# Software accounting seems to be OK with LPRng support now 
     26# 
    2427# Revision 1.114  2004/07/20 22:19:45  jalet 
    2528# Sanitized a bit + use of gettext 
     
    11271130                df_name = [line[8:] for line in os.environ.get("HF", "").split() if line.startswith("df_name=")][0] 
    11281131            except IndexError : 
    1129                 inputfile = None         
     1132                try : 
     1133                    cftransfername = [line[15:] for line in os.environ.get("HF", "").split() if line.startswith("cftransfername=")][0] 
     1134                except IndexError :     
     1135                    inputfile = None 
     1136                else :     
     1137                    inputfile = os.path.join(os.environ.get("SPOOL_DIR", "."), "d" + cftransfername[1:]) 
    11301138            else :     
    11311139                inputfile = os.path.join(os.environ.get("SPOOL_DIR", "."), df_name)