def s3_debug(message, value=None):
 output = ('S3 Debug: %s' % s3_unicode(message))
 if value:
  output = ('%s: %s' % (output, s3_unicode(value)))
 try:
  print >>sys.stderr, output
 except:
  print >>sys.stderr, 'Debug crashed'

def s3_debug ( message , value = None ) : output = ( 'S3 Debug: %s' % s3_unicode ( message ) ) if value : output = ( '%s: %s' % ( output , s3_unicode ( value ) ) ) try : print >> sys . stderr , output except : print >> sys . stderr , 'Debug crashed'
debug function provide an easy .