equal
deleted
inserted
replaced
9 This software may be used and distributed according to the terms |
9 This software may be used and distributed according to the terms |
10 of the GNU General Public License, incorporated herein by reference. |
10 of the GNU General Public License, incorporated herein by reference. |
11 """ |
11 """ |
12 |
12 |
13 from node import * |
13 from node import * |
|
14 from i18n import gettext as _ |
14 from demandload import demandload |
15 from demandload import demandload |
15 demandload(globals(), "binascii errno heapq mdiff sha struct zlib") |
16 demandload(globals(), "binascii errno heapq mdiff sha struct zlib") |
16 |
17 |
17 def hash(text, p1, p2): |
18 def hash(text, p1, p2): |
18 """generate a hash from the given text and its parent hashes |
19 """generate a hash from the given text and its parent hashes |