changeset 205:a3914d6a04a7

fix the last bug remaining (now all tests should pass)
author Abderrahim Kitouni <a.kitouni@gmail.com>
date Tue, 30 Jun 2009 15:29:40 +0100
parents 4734153365ac
children 5986ac6a591e 626d7c0160df
files dulwich/repo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dulwich/repo.py	Mon Jun 29 23:20:37 2009 +0100
+++ b/dulwich/repo.py	Tue Jun 30 15:29:40 2009 +0100
@@ -359,7 +359,7 @@
         commit_data += 'author ' + commit['author'] + "\n"
         commit_data += 'committer ' + commit['committer'] + "\n"
         if 'encoding' in commit:
-            commit_data += 'encoding ' + commit['encoding'] + "\n"
+            commit_data += 'encoding ' + commit['encoding']
         commit_data += "\n"
         commit_data += commit['message']
         sha = self.write_object('commit', commit_data)