[beast] doxer.py: fixup to work with python >= 2.4.
- From: Tim Janik <timj src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [beast] doxer.py: fixup to work with python >= 2.4.
- Date: Tue, 6 Oct 2009 23:12:35 +0000 (UTC)
commit 420f81f54cbeb9def026b76371a313f992a7ad6b
Author: Tim Janik <timj gtk org>
Date: Wed Oct 7 01:11:14 2009 +0200
doxer.py: fixup to work with python >= 2.4.
doxer/doxer.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/doxer/doxer.py b/doxer/doxer.py
index 2477b98..9be2fc3 100755
--- a/doxer/doxer.py
+++ b/doxer/doxer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.4
+#!/usr/bin/env python
#
# Doxer - Software documentation system
# Copyright (C) 2005-2006 Tim Janik
@@ -18,6 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
import os, sys, re, shutil
+assert sys.hexversion >= 0x02040000
# determine installation directory
doxer_dir = os.path.dirname (os.path.abspath (os.path.realpath (sys.argv[0])))
sys.path.append (doxer_dir) # allow loading of modules from installation dir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]