mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 21:11:13 -05:00
Merge branch 'master' of https://github.com/ncoevoet/ChanTracker
This commit is contained in:
commit
a46700b5ef
@ -57,7 +57,7 @@ except ImportError:
|
|||||||
try:
|
try:
|
||||||
from netaddr import IPAddress, IPNetwork
|
from netaddr import IPAddress, IPNetwork
|
||||||
except:
|
except:
|
||||||
print 'CIDR computation is not available: netaddress or ipaddress must be installed'
|
print('CIDR computation is not available: netaddress or ipaddress must be installed')
|
||||||
|
|
||||||
#due to more kind of pattern checked, increase size
|
#due to more kind of pattern checked, increase size
|
||||||
|
|
||||||
@ -1146,7 +1146,7 @@ def getWrapper(name):
|
|||||||
group = group.get(parts.pop(0))
|
group = group.get(parts.pop(0))
|
||||||
except (registry.NonExistentRegistryEntry,
|
except (registry.NonExistentRegistryEntry,
|
||||||
registry.InvalidRegistryName):
|
registry.InvalidRegistryName):
|
||||||
raise registry.InvalidRegistryName, name
|
raise registry.InvalidRegistryName(name)
|
||||||
return group
|
return group
|
||||||
|
|
||||||
def listGroup(group):
|
def listGroup(group):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user