projects
/
mw
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8082a39
)
Open .mw/version file for writing
author
Ian Weller
<ian@ianweller.org>
Tue, 22 Dec 2009 02:24:45 +0000
(20:24 -0600)
committer
Ian Weller
<ian@ianweller.org>
Tue, 22 Dec 2009 02:24:45 +0000
(20:24 -0600)
src/mw/metadir.py
patch
|
blob
|
history
diff --git
a/src/mw/metadir.py
b/src/mw/metadir.py
index 27e2fec06bf2253c3b836c9d8768a5a162584411..49a91cf588f943c719a71845f9fc97e9b81523aa 100644
(file)
--- a/
src/mw/metadir.py
+++ b/
src/mw/metadir.py
@@
-52,7
+52,7
@@
class Metadir(object):
else:
os.mkdir(self.location, 0755)
# metadir versioning
- fd = file(os.path.join(self.location, 'version'))
+ fd = file(os.path.join(self.location, 'version')
, 'w'
)
fd.write('1')
fd.close()
# create config
Benjamin Mako Hill
||
Want to submit a patch?