Commit e6a7163f authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fix usage of proper repo unstage function.

parent 47d40af2
...@@ -305,7 +305,7 @@ class Upload(Proc): ...@@ -305,7 +305,7 @@ class Upload(Proc):
def unstage(self): def unstage(self):
self.get_logger().info('unstage') self.get_logger().info('unstage')
self.in_staging = False self.in_staging = False
RepoCalc.update_upload(upload_id=self.upload_id, staging=False) RepoCalc.unstage(upload_id=self.upload_id)
self.save() self.save()
@property @property
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment