s4cmd.py
def tempfile_get(target):
  '''Get a temp filename for atomic download.'''
  fn = '%s-%s.tmp' % (target, ''.join(random.Random().sample("0123456789abcdefghijklmnopqrstuvwxyz", 15)))
  TEMP_FILES.add(fn)
  return fn
def tempfile_get(target):
  '''Get a temp filename for atomic download.'''
  fn = '%s-%s.tmp' % (target, ''.join(random.Random().sample("0123456789abcdefghijklmnopqrstuvwxyz", 15)))
  TEMP_FILES.add(fn)
  return fn
def tempfile_get ( target ) : fn = '%s-%s.tmp' % ( target , '' . join ( random . Random ( ) . sample ( "0123456789abcdefghijklmnopqrstuvwxyz" , 15 ) ) ) TEMP_FILES . add ( fn ) return fn
Get a temp filename for atomic download.
Get a temp filename for atomic download .