#NEWLINE# def restoreLocal( self ) : #NEWLINE# #INDENT# '\n        Load self.local from keep file if any and return local\n        Otherwise return None\n        ' #NEWLINE# local = None #NEWLINE# data = self . keep . loadLocalData ( ) #NEWLINE# if data : #NEWLINE# #INDENT# if self . keep . verifyLocalData ( data ) : #NEWLINE# #INDENT# local = lotting . Lot ( stack = self , uid = local [ 'uid' ] , name = data [ 'name' ] , ha = data [ 'ha' ] , sid = data [ 'sid' ] ) #NEWLINE# self . local = local #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . keep . clearLocalData ( ) #NEWLINE# #UNINDENT# #UNINDENT# return local