For python-3.0 compatibility, raise a real exception instead of a string.
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 05:47:00 +0000 (05:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 05:47:00 +0000 (05:47 -0000)
(trunk r12635)

svn path=/main/branches/2.1.6/; revision=12907

bin/archive-conf

index caf8fa2c3f1e5ca4161899781409e6828f9cb913..04c6ce414265fc8994959c598e95cfa573335b2a 100755 (executable)
@@ -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: