Show More
@@ -299,7 +299,6 b' class GistsController(BaseController):' | |||
|
299 | 299 | description=schema_data['description'], |
|
300 | 300 | owner=c.gist.owner, |
|
301 | 301 | gist_mapping=schema_data['nodes'], |
|
302 | gist_type=schema_data['gist_type'], | |
|
303 | 302 | lifetime=schema_data['lifetime'], |
|
304 | 303 | gist_acl_level=schema_data['gist_acl_level'] |
|
305 | 304 | ) |
@@ -176,8 +176,8 b' class GistModel(BaseModel):' | |||
|
176 | 176 | log.error(traceback.format_exc()) |
|
177 | 177 | raise |
|
178 | 178 | |
|
179 |
def update(self, gist, description, owner, gist_mapping, |
|
|
180 |
|
|
|
179 | def update(self, gist, description, owner, gist_mapping, lifetime, | |
|
180 | gist_acl_level): | |
|
181 | 181 | gist = self._get_gist(gist) |
|
182 | 182 | gist_repo = gist.scm_instance() |
|
183 | 183 | |
@@ -204,7 +204,6 b' class GistModel(BaseModel):' | |||
|
204 | 204 | gist.gist_description = description |
|
205 | 205 | gist.gist_expires = gist_expires |
|
206 | 206 | gist.owner = owner |
|
207 | gist.gist_type = gist_type | |
|
208 | 207 | gist.acl_level = gist_acl_level |
|
209 | 208 | self.sa.add(gist) |
|
210 | 209 | self.sa.flush() |
General Comments 0
You need to be logged in to leave comments.
Login now