- Timestamp:
- 2010-12-28T13:04:34Z (14 years ago)
- Branches:
- master
- Children:
- f85837a
- Parents:
- d45adcf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skyped.py
rd45adcf r1130561 102 102 103 103 def send(sock, txt): 104 global options 104 105 count = 1 105 106 done = False 106 while (not done) and (count < 10) :107 while (not done) and (count < 10) and options.conn: 107 108 if wait_for_lock(options.lock, 3, 10, "socket send"): 108 109 try: 109 sock.send(txt)110 if options.conn: sock.send(txt) 110 111 options.lock.release() 111 112 done = True
Note: See TracChangeset
for help on using the changeset viewer.