- Timestamp:
- 2013-02-11T12:56:04Z (12 years ago)
- Branches:
- master
- Children:
- 4da4e9b
- Parents:
- 8e166ae
- git-author:
- Mike Kazantsev <mk.fraggod@…> (11-02-13 12:56:04)
- git-committer:
- Miklos Vajna <vmiklos@…> (11-02-13 12:56:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/skype/skyped.py
r8e166ae r5a4f22e 127 127 global options 128 128 if hasgobject: 129 for attempt in xrange(1, tries+1): 130 try: 131 sock.sendall(txt) 132 except Exception, s: 133 dprint("Warning, sending '%s' failed (%s). count=%d" % (txt, s, attempt)) 134 time.sleep(1) 135 else: 136 break 137 else: 129 if not options.conn: return 130 try: 131 sock.sendall(txt) 132 except Exception, s: 133 dprint("Warning, sending '%s' failed (%s)." % (txt, s)) 138 134 options.conn.close() 135 options.conn = False 139 136 else: 140 137 for attempt in xrange(1, tries+1):
Note: See TracChangeset
for help on using the changeset viewer.