diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-12 17:24:51 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-12 17:28:25 -0700 |
commit | c87b1dc338eadc68accac02563a487d7d8e1c9a0 (patch) | |
tree | 4333dca2f664bd7170a7ff984abc8a2d1a643fb2 /src/mmo/ip.py | |
parent | 0659ef14f64e2c5d71601060717a761aded8381f (diff) | |
download | tmwa-c87b1dc338eadc68accac02563a487d7d8e1c9a0.tar.gz tmwa-c87b1dc338eadc68accac02563a487d7d8e1c9a0.tar.bz2 tmwa-c87b1dc338eadc68accac02563a487d7d8e1c9a0.tar.xz tmwa-c87b1dc338eadc68accac02563a487d7d8e1c9a0.zip |
Split net/ from mmo/
Diffstat (limited to 'src/mmo/ip.py')
-rw-r--r-- | src/mmo/ip.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mmo/ip.py b/src/mmo/ip.py deleted file mode 100644 index e6a8183..0000000 --- a/src/mmo/ip.py +++ /dev/null @@ -1,14 +0,0 @@ -class IP4Address(object): - ''' print an IP4Address - ''' - __slots__ = ('_value') - name = 'IP4Address' - enabled = True - - def __init__(self, value): - self._value = value - - def to_string(self): - addr = self._value['_addr'] - addr = tuple(int(addr[i]) for i in range(4)) - return '%d.%d.%d.%d' % addr |