BASIS  r3148
updatefile Namespace Reference

Functions

def extractCustomizedSections
def extractLicenseSections
def help
def replaceCustomizedSections
def replaceLicenseSections
def run
def usage
def version

Variables

string customTag = "basis-custom"
 force = False
string inputFile = ""
string licenseTag = "basis-license"
string outputFile = ""
tuple progName = os.path.basename(sys.argv [0])
string templateFile = ""
string tokenCustomEnd = "</"
string tokenCustomStart = "<"
string tokenKeepTemplate = "REMOVE_THIS_STRING_IF_YOU_WANT_TO_KEEP_YOUR_CHANGES"
string tokenLicenseEnd = "</"
string tokenLicenseStart = "<"
int verbosity = 0

Function Documentation

def updatefile::extractCustomizedSections (   input)

Definition at line 85 of file updatefile.py.

def updatefile::extractLicenseSections (   input)

Definition at line 131 of file updatefile.py.

def updatefile::help (   progName)

Definition at line 81 of file updatefile.py.

def updatefile::replaceCustomizedSections (   input,
  custom 
)

Definition at line 105 of file updatefile.py.

def updatefile::replaceLicenseSections (   input,
  license 
)

Definition at line 151 of file updatefile.py.

def updatefile::run (   inputFile,
  templateFile,
  outputFile,
  force 
)

Definition at line 169 of file updatefile.py.

def updatefile::usage (   progName)

Definition at line 53 of file updatefile.py.

def updatefile::version (   progName)
Print version information.

Definition at line 48 of file updatefile.py.


Variable Documentation

string updatefile::customTag = "basis-custom"

Definition at line 38 of file updatefile.py.

Definition at line 231 of file updatefile.py.

Definition at line 228 of file updatefile.py.

string updatefile::licenseTag = "basis-license"

Definition at line 39 of file updatefile.py.

Definition at line 230 of file updatefile.py.

tuple updatefile::progName = os.path.basename(sys.argv [0])

Definition at line 225 of file updatefile.py.

Definition at line 229 of file updatefile.py.

Definition at line 42 of file updatefile.py.

Definition at line 41 of file updatefile.py.

string updatefile::tokenKeepTemplate = "REMOVE_THIS_STRING_IF_YOU_WANT_TO_KEEP_YOUR_CHANGES"

Definition at line 45 of file updatefile.py.

Definition at line 44 of file updatefile.py.

Definition at line 43 of file updatefile.py.

Definition at line 227 of file updatefile.py.