git://git.novaco.in
/
p2pool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed resource leak and incorrect exception handling in nattraverso upnp library
[p2pool.git]
/
p2pool
/
main.py
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
50adf8a
..
da771f3
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-301,7
+301,7
@@
def main(args):
yield pm._upnp.add_port_mapping(lan_ip, args.net.P2P_PORT, args.net.P2P_PORT, 'p2pool', 'TCP')
except:
if p2pool_init.DEBUG:
- log.err()
+ log.err(None, "UPnP error:")
yield deferral.sleep(random.expovariate(1/120))
if args.upnp: