1. Tamas Kovacs
  2. slimv

Commits

Tamas Kovacs  committed fe355ce

On IO error wait a little before retry

  • Participants
  • Parent commits c9322b7
  • Branches default
  • Tags 0.4.0

Comments (0)

Files changed (1)

File plugin/slimv.py

View file
  • Ignore whitespace
                     tries = tries - 1
                     if tries == 0:
                         traceback.print_exc()
+                    time.sleep(0.05)
                 except:
                     tries = tries - 1
+                    time.sleep(0.05)
         elif len( self.buffer ) < 2000:
             # No filename supplied, collect output info a buffer until filename is given
             # We collect only some bytes, then probably no filename will be given at all