Changeset f503585 for skype/skyped.py
- Timestamp:
- 2011-01-21T14:17:03Z (14 years ago)
- Branches:
- master
- Children:
- 7279554
- Parents:
- a86612f
- git-author:
- Philippe Crama <pcfeb0009@…> (21-01-11 14:17:03)
- git-committer:
- Miklos Vajna <vmiklos@…> (21-01-11 14:17:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skyped.py
ra86612f rf503585 199 199 200 200 if options.debug: 201 print now + ": " + msg 201 try: 202 print now + ": " + msg 203 except Exception, s: 204 try: 205 sanitized = msg.encode("ascii", "backslashreplace") 206 except Error, s: 207 try: 208 sanitized = "hex [" + msg.encode("hex") + "]" 209 except Error, s: 210 sanitized = "[unable to print debug message]" 211 print now + "~=" + sanitized 202 212 sys.stdout.flush() 203 213 if options.log:
Note: See TracChangeset
for help on using the changeset viewer.