[beast] changelog2doxi.py: fixup to work with python >= 2.4.



commit 4f088e0583175c75623bb120d2835e54d28118a4
Author: Tim Janik <timj gtk org>
Date:   Wed Oct 7 02:13:21 2009 +0200

    changelog2doxi.py: fixup to work with python >= 2.4.

 doxer/changelog2doxi.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/doxer/changelog2doxi.py b/doxer/changelog2doxi.py
index 564b179..2a44304 100755
--- a/doxer/changelog2doxi.py
+++ b/doxer/changelog2doxi.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.4
+#!/usr/bin/env python
 #
 # Copyright (C) 2006 Tim Janik
 #
@@ -16,6 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 import os, sys, re
+assert sys.hexversion >= 0x02040000
 
 def compile_number ():
   # number exponent



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]