- Timestamp:
- 01/25/07 17:43:29 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tea4cups/trunk/tea4cups
r691 r692 1139 1139 try : 1140 1140 john = answer.job["job-originating-host-name"] 1141 except KeyError:1141 except (KeyError, AttributeError) : 1142 1142 try : 1143 1143 john = answer.operation["job-originating-host-name"] 1144 except KeyError:1144 except (KeyError, AttributeError) : 1145 1145 john = (None, None) 1146 1146 if type(john) == type([]) : … … 1149 1149 try : 1150 1150 jbing = answer.job["job-billing"] 1151 except KeyError:1151 except (KeyError, AttributeError) : 1152 1152 jbing = (None, None) 1153 1153 if type(jbing) == type([]) :