diff options
Diffstat (limited to 'git_config.py')
-rw-r--r-- | git_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git_config.py b/git_config.py index a667b3f8..aa07d1b7 100644 --- a/git_config.py +++ b/git_config.py | |||
@@ -697,7 +697,7 @@ class Branch(object): | |||
697 | self._Set('merge', self.merge) | 697 | self._Set('merge', self.merge) |
698 | 698 | ||
699 | else: | 699 | else: |
700 | fd = open(self._config.file, 'ab') | 700 | fd = open(self._config.file, 'a') |
701 | try: | 701 | try: |
702 | fd.write('[branch "%s"]\n' % self.name) | 702 | fd.write('[branch "%s"]\n' % self.name) |
703 | if self.remote: | 703 | if self.remote: |