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



commit a62939cb4fc871b08a45fdfa91421dd75404bd30
Author: Tim Janik <timj gtk org>
Date:   Wed Oct 7 02:13:37 2009 +0200

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

 doxer/qcomment.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/doxer/qcomment.py b/doxer/qcomment.py
index 32bc4b8..bc44dc9 100755
--- a/doxer/qcomment.py
+++ b/doxer/qcomment.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.4
+#!/usr/bin/env python
 #
 # Doxer - Software documentation system
 # Copyright (C) 2005-2006 Tim Janik
@@ -19,6 +19,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, shutil
+assert sys.hexversion >= 0x02040000
 
 # determine installation directory
 qcommentfilter_dir = os.path.dirname (os.path.abspath (os.path.realpath (sys.argv[0])))



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