@decorator
def needs_sqlite(f, self, *a, **kw):
 if ((sqlite3 is None) or (not self.enabled)):
  return []
 else:
  return f(self, *a, **kw)

@ decorator def needs_sqlite ( f , self , * a , ** kw ) : if ( ( sqlite3 is None ) or ( not self . enabled ) ) : return [ ] else : return f ( self , * a , ** kw )
decorator: return an empty list in the absence of sqlite .