Changeset 1611 for pykota/trunk/pykota/tool.py
- Timestamp:
- 07/21/04 11:35:48 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r1606 r1611 22 22 # 23 23 # $Log$ 24 # Revision 1.115 2004/07/21 09:35:48 jalet 25 # Software accounting seems to be OK with LPRng support now 26 # 24 27 # Revision 1.114 2004/07/20 22:19:45 jalet 25 28 # Sanitized a bit + use of gettext … … 1127 1130 df_name = [line[8:] for line in os.environ.get("HF", "").split() if line.startswith("df_name=")][0] 1128 1131 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:]) 1130 1138 else : 1131 1139 inputfile = os.path.join(os.environ.get("SPOOL_DIR", "."), df_name)