[Super-tux-commit] supertux SConstruct,1.14,1.15
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-11-19 00:10:08
|
Update of /cvsroot/super-tux/supertux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25124 Modified Files: SConstruct Log Message: improve exception feedback a bit Index: SConstruct =================================================================== RCS file: /cvsroot/super-tux/supertux/SConstruct,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- SConstruct 19 Nov 2004 00:01:24 -0000 1.14 +++ SConstruct 19 Nov 2004 00:09:58 -0000 1.15 @@ -10,8 +10,8 @@ for file in os.listdir( Dir(dir).srcnode().abspath ): if fnmatch.fnmatch(file, pattern) : files.append( os.path.join( dir, file ) ) - except: - print "Warning, couldn't find directory " + dir + except Exception, e: + print "Warning, couldn't find directory '%s': %s" % (dir, str(e)) return files |