mirror of
https://github.com/openharmony/third_party_libnl.git
synced 2026-08-27 22:49:56 -04:00
dae51a5a05
- Bug: #43 - Test: calculate the SHA256 checksum for the libnl upstream tarball and compare it with the upstream SHA256 value Signed-off-by: Jinguang Dong <dongjinguang@huawei.com>
28 lines
385 B
Python
28 lines
385 B
Python
#
|
|
# Copyright (c) 2011 Thomas Graf <tgraf@suug.ch>
|
|
#
|
|
|
|
"""Dummy
|
|
|
|
"""
|
|
from __future__ import absolute_import
|
|
|
|
__version__ = "1.0"
|
|
__all__ = [
|
|
"init",
|
|
]
|
|
|
|
|
|
class DummyLink(object):
|
|
def __init__(self, link):
|
|
self._rtnl_link = link
|
|
|
|
@staticmethod
|
|
def brief():
|
|
return "dummy"
|
|
|
|
|
|
def init(link):
|
|
link.dummy = DummyLink(link._rtnl_link)
|
|
return link.dummy
|