#NEWLINE# def _connectSimpleDB( self ) : #NEWLINE# #INDENT# '\n        :rtype: SDBConnection\n        ' #NEWLINE# db = boto . sdb . connect_to_region ( self . region ) #NEWLINE# if ( db is None ) : #NEWLINE# #INDENT# raise ValueError ( ( "Could not connect to SimpleDB. Make sure '%s' is a valid SimpleDB region." % self . region ) ) #NEWLINE# #UNINDENT# assert ( db is not None ) #NEWLINE# monkeyPatchSdbConnection ( db ) #NEWLINE# return db