#NEWLINE# def getProperties( self ) : #NEWLINE# #INDENT# '\n        @return:  Dictonary with properties of this instance\n        ' #NEWLINE# properties = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for attr in self . attrs : #NEWLINE# #INDENT# if hasattr ( properties , attr ) : #NEWLINE# #INDENT# if ( not ( attr == 'url' ) ) : #NEWLINE# #INDENT# properties [ attr ] = getattr ( self , attr ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return properties