代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/libffado 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From a94776b22f0a50116c8c017a08e2a6e9646fd4f5 Mon Sep 17 00:00:00 2001
From: maminjie <maminjie1@huawei.com>
Date: Tue, 13 Oct 2020 20:15:41 +0800
Subject: [PATCH] fix the AttributeError: module 'posixpath' has no attribute
'walk'
---
support/mixer-qt4/SConscript | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/support/mixer-qt4/SConscript b/support/mixer-qt4/SConscript
index 1d57984..eebb8ca 100644
--- a/support/mixer-qt4/SConscript
+++ b/support/mixer-qt4/SConscript
@@ -28,17 +28,13 @@ Import( 'env' )
if env['BUILD_MIXER'] == 'true':
e = env.Clone()
-
- def findfiles( arg, dirname, names ):
- for name in names:
- if name.startswith("."):
- names.remove(name)
- for name in names:
- if '.pyc' not in name and '.in' not in name:
- arg.append( os.path.join( dirname, name ) )
-
+
pythonfiles = [ 'ffado/config.py' ]
- os.path.walk( "ffado", findfiles, pythonfiles )
+ for root, dirs, files in os.walk( "ffado" ):
+ for name in files:
+ if name.endswith( '.pyc' ) or '.in' in name or name.startswith("."):
+ continue
+ pythonfiles.append( os.path.join( root, name ) )
e.ScanReplace( "ffado/config.py.in" )
e.Depends( "ffado/config.py", "#/SConstruct" )
--
2.23.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。