some pylint fixes
[p2pool.git] / p2pool / bitcoin / p2p.py
index 3ec241c..ea66af9 100644 (file)
@@ -76,7 +76,7 @@ class Protocol(p2protocol.Protocol):
             elif inv['type'] == 'block':
                 self.factory.new_block.happened(inv['hash'])
             else:
-                print 'Unknown inv type', item
+                print 'Unknown inv type', inv
     
     message_getdata = pack.ComposedType([
         ('requests', pack.ListType(pack.ComposedType([