view zipfile.py @ 150:006dce02752c

Added the testee configuration variable and the config.nativize_path function The testee configuration variable stores the string or iterable of strings to pass to subprocess.Popen except that the first/only string always follows the POSIX pathname format or, if the native format is really needed, is prefixed by slash-slash-colon (the same format is used in Boost.Filesystem). config.nativize_path is now a part of the public API of the config module. It converts a path in the format described above into the native format and can be used in testconf if it needs to use paths other than testee[0].
author Oleg Oshmyan <chortos@inbox.lv>
date Fri, 03 Jun 2011 02:39:02 +0100
parents bbf9c434fa57
children
line wrap: on
line source

import sys
if sys.version_info[0] >= 3:
	if sys.version_info[1] >= 2:
		from zipfile32 import *
	else:
		from zipfile31 import *
else:
	if sys.version_info[0] == 2 and sys.version_info[1] >= 7:
		from zipfile27 import *
	else:
		from zipfile26 import *