Changes in src/tests/pybin/tools.py [56de5932:a95c117]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/pybin/tools.py
r56de5932 ra95c117 57 57 except TypeError: 58 58 sh("rm -f %s > /dev/null 2>&1" % files ) 59 60 # Create 1 or more directory 61 def mkdir( files ): 62 try: 63 for file in files: 64 sh("mkdir -p %s" % os.path.dirname(file) ) 65 except TypeError: 66 sh("mkdir -p %s" % os.path.dirname(files) ) 59 67 60 68 def chdir( dest = __main__.__file__ ): … … 163 171 164 172 # Start the walk 165 dname = settings.SRCDIR 173 abspath = os.path.abspath(__main__.__file__) 174 dname = os.path.dirname(abspath) 166 175 os.path.walk(dname, step, '') 167 176
Note: See TracChangeset
for help on using the changeset viewer.