Show More
@@ -298,7 +298,6 b' class GistsController(BaseController):' | |||
|
298 | 298 | description=schema_data['description'], |
|
299 | 299 | owner=c.gist.owner, |
|
300 | 300 | gist_mapping=schema_data['nodes'], |
|
301 | gist_type=schema_data['gist_type'], | |
|
302 | 301 | lifetime=schema_data['lifetime'], |
|
303 | 302 | gist_acl_level=schema_data['gist_acl_level'] |
|
304 | 303 | ) |
@@ -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