Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1299)

Unified Diff: app/models/package_version.py

Issue 813063002: Remove encoding='utf-8' parameter. (Closed) Base URL: https://github.com/dart-lang/pub-dartlang.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/models/package_version.py
diff --git a/app/models/package_version.py b/app/models/package_version.py
index 864097da1c1c469a9d36bcc5e3a1f63c4fc20cd5..2c59cf60a43455f4f843e76c11553b7af7f76f2a 100644
--- a/app/models/package_version.py
+++ b/app/models/package_version.py
@@ -90,11 +90,11 @@ class PackageVersion(db.Model):
if self.readme:
self.readmeFilename = self.readme.filename
- self.readmeContent = db.Text(self.readme.text, encoding="utf-8")
+ self.readmeContent = db.Text(self.readme.text)
if self.changelog:
self.changelogFilename = self.changelog.filename
- self.changelogContent = db.Text(self.changelog.text, encoding="utf-8")
+ self.changelogContent = db.Text(self.changelog.text)
@classmethod
def new(cls, **kwargs):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698