Changeset 45222ed for podcast-transcode.py
- Timestamp:
- 01/07/12 10:58:18 (17 months ago)
- Branches:
- master
- Children:
- fc7bbfc
- Parents:
- d473bae
- git-author:
- Aurélien Bompard <aurelien@…> (01/07/12 10:58:18)
- git-committer:
- Aurélien Bompard <aurelien@…> (01/07/12 10:58:18)
- File:
-
- 1 edited
-
podcast-transcode.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
podcast-transcode.py
r26929f9 r45222ed 22 22 import sys 23 23 import urllib2 24 import httplib 24 25 import glob 25 26 import subprocess … … 131 132 self.content_type = remote_file.info().get("Content-Type") 132 133 remote_file.close() 133 except urllib2.HTTPError, e:134 except (urllib2.HTTPError, httplib.HTTPException), e: 134 135 print "Failed downloading %s" % url 135 136 print e
Note: See TracChangeset
for help on using the changeset viewer.
