Add version line and allow code to be executed from the command line
authorpnixon <pnixon>
Sat, 27 Jan 2007 15:09:58 +0000 (15:09 +0000)
committerpnixon <pnixon>
Sat, 27 Jan 2007 15:09:58 +0000 (15:09 +0000)
src/modules/rlm_python/prepaid.py
src/modules/rlm_python/radiusd.py
src/modules/rlm_python/radiusd_test.py

index 93b180b..aae1c83 100644 (file)
@@ -1,3 +1,4 @@
+#! /usr/bin/env python
 #
 # Example Python module for prepaid usage using MySQL
 
@@ -15,6 +16,8 @@
 #
 # Copyright 2002 Miguel A.L. Paraz <mparaz@mparaz.com>
 # Copyright 2002 Imperium Technology, Inc.
+#
+# $Id$
 
 import radiusd
 import MySQLdb
index 08fe100..08a1aa0 100644 (file)
@@ -1,3 +1,4 @@
+#! /usr/bin/env python
 #
 # Definitions for RADIUS programs
 #
@@ -6,6 +7,8 @@
 # This should only be used when testing modules.
 # Inside freeradius, the 'radiusd' Python module is created by the C module
 # and the definitions are automatically created.
+#
+# $Id$
 
 # from modules.h
 
index 2e24af5..3db91f0 100644 (file)
@@ -1,6 +1,9 @@
+#! /usr/bin/env python
 #
 # Python module test
 # Miguel A.L. Paraz <mparaz@mparaz.com>
+#
+# $Id$
 
 import radiusd