fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cover cropping.
[redakcja.git]
/
src
/
depot
/
models.py
diff --git
a/src/depot/models.py
b/src/depot/models.py
index
c654d1b
..
e3b6dfd
100644
(file)
--- a/
src/depot/models.py
+++ b/
src/depot/models.py
@@
-35,13
+35,13
@@
class Package(models.Model):
return json.loads(self.status_json)
def set_status(self, status):
return json.loads(self.status_json)
def set_status(self, status):
- self.status_json = json.dumps(status, indent=4)
+ self.status_json = json.dumps(status, indent=4
, ensure_ascii=False
)
def get_definition(self):
return json.loads(self.definition_json)
def set_definition(self, definition):
def get_definition(self):
return json.loads(self.definition_json)
def set_definition(self, definition):
- self.definition_json = json.dumps(definition, indent=4)
+ self.definition_json = json.dumps(definition, indent=4
, ensure_ascii=False
)
def build(self):
f = tempfile.NamedTemporaryFile(prefix='depot-', suffix='.zip', mode='wb', delete=False)
def build(self):
f = tempfile.NamedTemporaryFile(prefix='depot-', suffix='.zip', mode='wb', delete=False)