equal
deleted
inserted
replaced
5 |
5 |
6 This software may be used and distributed according to the terms |
6 This software may be used and distributed according to the terms |
7 of the GNU General Public License, incorporated herein by reference. |
7 of the GNU General Public License, incorporated herein by reference. |
8 """ |
8 """ |
9 |
9 |
10 import binascii |
10 from demandload import demandload |
|
11 demandload(globals(), "binascii") |
11 |
12 |
12 nullid = "\0" * 20 |
13 nullid = "\0" * 20 |
13 |
14 |
14 def hex(node): |
15 def hex(node): |
15 return binascii.hexlify(node) |
16 return binascii.hexlify(node) |