projects
/
pggit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
346df61
)
Another unicode fix for writing repo configs
author
Magnus Hagander
<magnus@hagander.net>
Sun, 23 Feb 2020 21:18:50 +0000
(22:18 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Sun, 23 Feb 2020 21:18:50 +0000
(22:18 +0100)
gitdump.py
patch
|
blob
|
blame
|
history
diff --git
a/gitdump.py
b/gitdump.py
index 9293b0798a0c986c45e7f6837640d82444b539e4..b42bdb7756cbb39c639b49c4ecbbbbc4fc090560 100644
(file)
--- a/
gitdump.py
+++ b/
gitdump.py
@@
-122,7
+122,7
@@
FROM repositories AS r WHERE approved ORDER BY name""")
if not repoconf.has_section('gitweb'):
repoconf.add_section('gitweb')
repoconf.set('gitweb', 'tabwidth', str(tabwidth))
- cf = open("%s/config" % repopath, "w
b
")
+ cf = open("%s/config" % repopath, "w")
repoconf.write(cf)
cf.close()