comparison kallithea/model/gist.py @ 6118:3d1fcf67f299

model: drop BaseModel.cls It no longer serves a purpose.
author Søren Løvborg <sorenl@unity3d.com>
date Wed, 03 Aug 2016 17:01:57 +0200
parents 431689d7f37d
children 91b38dc6d891
comparison
equal deleted inserted replaced
6117:974d6470cbec 6118:3d1fcf67f299
44 GIST_STORE_LOC = '.rc_gist_store' 44 GIST_STORE_LOC = '.rc_gist_store'
45 GIST_METADATA_FILE = '.rc_gist_metadata' 45 GIST_METADATA_FILE = '.rc_gist_metadata'
46 46
47 47
48 class GistModel(BaseModel): 48 class GistModel(BaseModel):
49 cls = Gist
50 49
51 def _get_gist(self, gist): 50 def _get_gist(self, gist):
52 """ 51 """
53 Helper method to get gist by ID, or gist_access_id as a fallback 52 Helper method to get gist by ID, or gist_access_id as a fallback
54 53