提交 daede851 authored 作者: chandiar's avatar chandiar

modified the try except finally block to make it compatible with python2.4

上级 f0ae4f0d
...@@ -104,6 +104,7 @@ if not release: ...@@ -104,6 +104,7 @@ if not release:
FULL_VERSION += '.dev-' + HG_REVISION FULL_VERSION += '.dev-' + HG_REVISION
a = open(filename, 'w') a = open(filename, 'w')
try:
try: try:
a.write(cnt % {'version': VERSION, a.write(cnt % {'version': VERSION,
'full_version' : FULL_VERSION, 'full_version' : FULL_VERSION,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论