projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8caaaa
)
improve exception feedback a bit
author
Matthias Braun
<matze@braunis.de>
Fri, 19 Nov 2004 00:09:58 +0000
(
00:09
+0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 19 Nov 2004 00:09:58 +0000
(
00:09
+0000)
SVN-Revision: 2108
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index
d4ddd38
..
d071c5c
100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-10,8
+10,8
@@
def Glob(dirs, pattern = '*' ):
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