提交 d1484009 编写于 作者: Y Yanbing Du

Init serial_ports to [] instead of None

As serial_ports used as a list, so init it to [] instead of None.
This will avoid 'TypeError' if serial_ports has specific value.
Signed-off-by: NYanbing Du <ydu@redhat.com>
上级 768a73bb
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册