mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-15 05:48:11 +00:00
vendor cmp()
This commit is contained in:
@ -51,13 +51,14 @@ system where Tahoe is installed, or in a source tree with setup.py like this:
|
||||
setup.py run_with_pythonpath -p -c 'misc/make-canary-files.py ARGS..'
|
||||
"""
|
||||
|
||||
from past.builtins import cmp
|
||||
|
||||
import os, hashlib
|
||||
from twisted.python import usage
|
||||
from allmydata.immutable import upload
|
||||
from allmydata.util import base32
|
||||
|
||||
def cmp(a, b):
|
||||
return (a > b) - (a < b)
|
||||
|
||||
class Options(usage.Options):
|
||||
optParameters = [
|
||||
("convergence", "c", None, "path to NODEDIR/private/convergence"),
|
||||
|
Reference in New Issue
Block a user