mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 22:07:51 +00:00
shebang: replace "/usr/bin/python" with "/usr/bin/env python"
This commit is contained in:
parent
24650490ed
commit
eae5403e5a
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""
|
||||
This tool estimates how much space would be consumed by a filetree into which
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
from foolscap import Tub, eventual
|
||||
from twisted.internet import reactor
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# feed this the results of 'tahoe catalog-shares' for all servers
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""Determine the version number of the current tree.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os.path, time, pickle
|
||||
import foolscap
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""
|
||||
Given a list of nodeids and a 'convergence' file, create a bunch of files
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""Create a short probably-unique string for use as a umid= argument in a
|
||||
Foolscap log() call, to make it easier to locate the source code that
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os, sys, re
|
||||
import urllib
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This is a munin plugin which pulls data from the server in
|
||||
# misc/spacetime/diskwatcher.tac . It produces a graph of how much free space
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This is a munin plugin which pulls data from the server in
|
||||
# misc/spacetime/diskwatcher.tac . It produces a graph of how much disk space
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This is a munin plugin which pulls data from the server in
|
||||
# misc/spacetime/diskwatcher.tac . It produces a graph of how much time is
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys, os.path
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This is a munin plugin to track the number of files that each node's
|
||||
# StorageServer is holding on behalf of other nodes. Each file that has been
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os, sys
|
||||
import urllib
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os, sys
|
||||
import urllib
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os, sys
|
||||
import urllib
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This munin plugin isolates processes by looking for the 'pid' file created
|
||||
# by 'allmydata start', then extracts the amount of memory they consume (both
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This is a munin plugin which pulls total-used data from the server in
|
||||
# misc/spacetime/diskwatcher.tac, and a total-deep-size number from custom
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os, sys
|
||||
import urllib
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# retrieve a latency statistic for a given operation and percentile from a
|
||||
# set of storage servers.
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# graph operations-per-second from a set of storage servers.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# copy .rrd files from a remote munin master host, sum the 'df' stats from a
|
||||
# list of hosts, use them to estimate a rate-of-change for the past month,
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import pickle
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# This is a munin plugin to track the amount of disk space each node's
|
||||
# StorageServer is consuming on behalf of other nodes. This is where the
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
print "python%d.%d" % (sys.version_info[:2])
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys, math
|
||||
from allmydata import upload, uri, encode, storage
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
from allmydata import __version__ as v
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
from subprocess import Popen, PIPE
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""This program is a client that sends files to xfer-server.py. You give it
|
||||
the server's FURL, and it can put files into the server's targetdir (and
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""
|
||||
Test an existing Tahoe grid, both to see if the grid is still running and to
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""
|
||||
this is a load-generating client program. It does all of its work through a
|
||||
|
Loading…
Reference in New Issue
Block a user