From add4ae8be75bd027f51977e601c9af8f1ddb27ee Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 30 Oct 2006 08:40:17 +0000 Subject: Just use stat instead of lstat for config protect, so that broken symlinks are just ignored. svn path=/main/trunk/; revision=4881 --- bin/dispatch-conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/dispatch-conf') diff --git a/bin/dispatch-conf b/bin/dispatch-conf index de937425c..277d6ef4b 100755 --- a/bin/dispatch-conf +++ b/bin/dispatch-conf @@ -81,7 +81,7 @@ class dispatch: for path in config_paths.split (): path = portage.normalize_path(path) try: - mymode = os.lstat(path).st_mode + mymode = os.stat(path).st_mode except OSError: continue basename = "*" -- cgit v1.2.3-1-g7c22