OSDN Git Service

fix verbose_out type
[ti2/ti2.git] / linkpair / port.py
1 # vim: tabstop=4 shiftwidth=4 softtabstop=4
2 # -*- coding: utf-8 -*-
3 #
4
5 __version__ = '1.1'
6
7 from linkobject import LinkObject
8
9
10 class Port(LinkObject):
11     DEFAULT_TYPE = 1
12
13     def __init__(self, label, type=DEFAULT_TYPE, metadata={}):
14         self.label = label
15         self.type = type
16         self.metadata = metadata