svn keywords
[myplc.git] / plc_config.py
index cedd66c..89d8f26 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+>#!/usr/bin/python
 #
 # Merge PlanetLab Central (PLC) configuration files into a variety of
 # output formats. These files represent the global configuration for a
@@ -13,7 +13,6 @@
 import codecs
 import os
 import re
-import readline
 import sys
 import textwrap
 import time
@@ -847,7 +846,7 @@ class TrimTextElement(xml.dom.minidom.Element):
 ####################
 # GLOBAL VARIABLES
 #
-release_id = "$Id:$"
+release_id = "$Id$"
 release_rev = "$Revision:$"
 release_url = "$URL:$"
 
@@ -1261,7 +1260,7 @@ def check_dir (config_file):
                 
 ####################
 def optParserSetup(configuration):
-    parser = OptionParser(usage=usage(), version="%prog 1.0" + release_rev + release_url )
+    parser = OptionParser(usage=usage(), version="%prog " + release_rev + release_url )
     parser.set_defaults(config_dir=configuration['config_dir'],
                         service=configuration['service'],
                         usual_variables=configuration['usual_variables'])