<s> from gitdh . modules import Module <EOL> class DatabaseSource ( Module ) : <EOL> def isEnabled ( self , action ) : <EOL> return action == '<STR_LIT>' and not self . dbBe is None <EOL> def source ( self ) : <EOL> return self . dbBe . getQueuedCommits ( ) </s>
