#NEWLINE# def getSyncItem( self , localFile ) : #NEWLINE# #INDENT# ret = [ ] #NEWLINE# for item in self . rules : #NEWLINE# #INDENT# if localFile . startswith ( item [ 'local' ] ) : #NEWLINE# #INDENT# ret += [ item ] #NEWLINE# #UNINDENT# #UNINDENT# return ret