From 335b3da47c23b9c84d65efce793dd0fa8f69c679 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 05:47:00 +0000 Subject: For python-3.0 compatibility, raise a real exception instead of a string. (trunk r12635) svn path=/main/branches/2.1.6/; revision=12907 --- bin/archive-conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/archive-conf b/bin/archive-conf index caf8fa2c3..04c6ce414 100755 --- a/bin/archive-conf +++ b/bin/archive-conf @@ -86,8 +86,8 @@ def archive_conf(): md5_match_hash[conf] = conf todo_cnt -= 1 if todo_cnt == 0: - raise "Break" - except "Break": + raise StopIteration() + except StopIteration: pass for conf in args: -- cgit v1.2.3-1-g7c22