Changeset 9ce8bc1
- Timestamp:
- Sep 8, 2012, 8:32:37 PM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 5f07d50
- Parents:
- 2e5dc1b
- git-author:
- Alex Dehnert <adehnert@…> (09/08/12 20:32:37)
- git-committer:
- Alex Dehnert <adehnert@…> (09/08/12 20:32:37)
- File:
-
- 1 edited
-
asadb/groups/models.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/models.py
r8068f6d r9ce8bc1 145 145 except IOError: 146 146 self.failure_date = now 147 self.status_msg = "retrieval failed" 148 self.failure_reason = self.status_msg 147 149 self.save() 148 150 success = False 149 self.status_msg = "retrieval failed"150 self.failure_reason = self.status_msg151 151 return (success, self.status_msg, old_success, ) 152 152 if tmp_path == url: … … 179 179 self.status_msg = "no url" 180 180 self.failure_reason = self.status_msg 181 self.save() 181 182 return (success, self.status_msg, old_success, ) 182 183 … … 233 234 stream = urllib.urlopen(self.source_url) 234 235 return stream.getcode() 235 except :236 except IOError: 236 237 return "IOError" 237 238 else:
Note: See TracChangeset
for help on using the changeset viewer.