fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
publish log + some fixes
[redakcja.git]
/
apps
/
dvcs
/
models.py
diff --git
a/apps/dvcs/models.py
b/apps/dvcs/models.py
index
5449240
..
177b0d3
100644
(file)
--- a/
apps/dvcs/models.py
+++ b/
apps/dvcs/models.py
@@
-124,10
+124,10
@@
class Change(models.Model):
changes = self.tree.change_set.exclude(parent=None).filter(
revision__lte=self.revision).order_by('revision')
changes = self.tree.change_set.exclude(parent=None).filter(
revision__lte=self.revision).order_by('revision')
- text =
u
''
+ text = ''
for change in changes:
text = change.apply_to(text)
for change in changes:
text = change.apply_to(text)
- return text
+ return text
.decode('utf-8')
def make_child(self, patch, description, author=None,
author_name=None, author_email=None, tags=None):
def make_child(self, patch, description, author=None,
author_name=None, author_email=None, tags=None):