[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/unsermake
From:       David Faure <faure () kde ! org>
Date:       2005-07-07 8:40:46
Message-ID: 1120725646.015476.21435.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 432414 by dfaure:

tell me what the problem is *before* raising the exception


 M  +1 -1      amfile.py  


--- trunk/kdenonbeta/unsermake/amfile.py #432413:432414
@@ -378,8 +378,8 @@
 		try:
 			lines = open(filename, 'r').readlines()
 		except IOError, e:
+			print "No such file: ", filename
 			raise e
-			print "No such file: ", filename
 			sys.exit(1)	
 		ret = []
 		for line in lines:
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic