From b4248e4e8bc4cd2acd83bd4164c10ca6c4adf493 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 19 Feb 2009 06:50:49 +0000 Subject: [PATCH] For python-3.0 compatibility, raise a real exception instead of a string. svn path=/main/trunk/; revision=12635 --- 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: -- 2.26.2