Back to index

python3.2  3.2.2
Namespaces | Functions | Variables
pathfix.py File Reference

Go to the source code of this file.

Namespaces

namespace  pathfix

Functions

def pathfix.main
def pathfix.ispython
def pathfix.recursedown
def pathfix.fix
def pathfix.fixline

Variables

 pathfix.err = sys.stderr.write
 pathfix.dbg = err
 pathfix.rep = sys.stdout.write
 pathfix.new_interpreter = None
 pathfix.preserve_timestamps = False
tuple pathfix.ispythonprog = re.compile('^[a-zA-Z0-9_]+\.py$')
tuple pathfix.f = open(filename, 'rb')
 dbg('fix(r)
' % (filename,))
tuple pathfix.line = f.readline()
tuple pathfix.fixed = fixline(line)
tuple pathfix.tempname = os.path.join(head, '@' + tail)
tuple pathfix.g = open(tempname, 'wb')
int pathfix.BUFSIZE = 8
tuple pathfix.buf = f.read(BUFSIZE)
 pathfix.mtime = None
 pathfix.atime = None
tuple pathfix.statbuf = os.stat(filename)