shebang: replace "/usr/bin/python" with "/usr/bin/env python"

This commit is contained in:
Zooko O'Whielacronx 2008-11-04 18:03:06 -07:00
parent 24650490ed
commit eae5403e5a
32 changed files with 32 additions and 32 deletions

View File

@ -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 This tool estimates how much space would be consumed by a filetree into which

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
from foolscap import Tub, eventual from foolscap import Tub, eventual
from twisted.internet import reactor from twisted.internet import reactor

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
# feed this the results of 'tahoe catalog-shares' for all servers # feed this the results of 'tahoe catalog-shares' for all servers

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import os import os

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
"""Determine the version number of the current tree. """Determine the version number of the current tree.

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import os.path, time, pickle import os.path, time, pickle
import foolscap import foolscap

View File

@ -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 Given a list of nodeids and a 'convergence' file, create a bunch of files

View File

@ -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 """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 Foolscap log() call, to make it easier to locate the source code that

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import os, sys, re import os, sys, re
import urllib import urllib

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
# This is a munin plugin which pulls data from the server in # 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 # misc/spacetime/diskwatcher.tac . It produces a graph of how much free space

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
# This is a munin plugin which pulls data from the server in # 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 # misc/spacetime/diskwatcher.tac . It produces a graph of how much disk space

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
# This is a munin plugin which pulls data from the server in # 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 # misc/spacetime/diskwatcher.tac . It produces a graph of how much time is

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import sys, os.path import sys, os.path

View File

@ -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 # 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 # StorageServer is holding on behalf of other nodes. Each file that has been

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import os, sys import os, sys
import urllib import urllib

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import os, sys import os, sys
import urllib import urllib

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import os, sys import os, sys
import urllib import urllib

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
# This munin plugin isolates processes by looking for the 'pid' file created # This munin plugin isolates processes by looking for the 'pid' file created
# by 'allmydata start', then extracts the amount of memory they consume (both # by 'allmydata start', then extracts the amount of memory they consume (both

View File

@ -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 # 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 # misc/spacetime/diskwatcher.tac, and a total-deep-size number from custom

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import os, sys import os, sys
import urllib import urllib

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# retrieve a latency statistic for a given operation and percentile from a # retrieve a latency statistic for a given operation and percentile from a
# set of storage servers. # set of storage servers.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# graph operations-per-second from a set of storage servers. # graph operations-per-second from a set of storage servers.

View File

@ -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 # 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, # list of hosts, use them to estimate a rate-of-change for the past month,

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
import os import os
import pickle import pickle

View File

@ -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 # 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 # StorageServer is consuming on behalf of other nodes. This is where the

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import sys import sys
print "python%d.%d" % (sys.version_info[:2]) print "python%d.%d" % (sys.version_info[:2])

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import sys, math import sys, math
from allmydata import upload, uri, encode, storage from allmydata import upload, uri, encode, storage

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
from allmydata import __version__ as v from allmydata import __version__ as v

View File

@ -1,4 +1,4 @@
#! /usr/bin/python #!/usr/bin/env python
import sys import sys
from subprocess import Popen, PIPE from subprocess import Popen, PIPE

View File

@ -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 """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 the server's FURL, and it can put files into the server's targetdir (and

View File

@ -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 Test an existing Tahoe grid, both to see if the grid is still running and to

View File

@ -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 this is a load-generating client program. It does all of its work through a