Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
debug Namespace Reference

Data Structures

class  VSException
 

Functions

def prettyfile
 

Variables

int debugnum = 0
 
 fatal = _fatal
 
 warn = _warn
 
 error = _warn
 
 debug = _withlineno
 
 info = _warn
 

Function Documentation

def debug.prettyfile (   fil)

Definition at line 13 of file debug.py.

13 
14 def prettyfile(fil):
15  lasttwo=str(fil).split('/')[-2:]
16  if len(lasttwo)<2: return fil
17  return '%s/%s' % (lasttwo[0][0],lasttwo[1])

Variable Documentation

debug = _withlineno

Definition at line 45 of file debug.py.

int debugnum = 0

Definition at line 4 of file debug.py.

error = _warn

Definition at line 42 of file debug.py.

fatal = _fatal

Definition at line 39 of file debug.py.

info = _warn

Definition at line 46 of file debug.py.

warn = _warn

Definition at line 41 of file debug.py.