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

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
from foolscap import Tub, eventual
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

View File

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

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
"""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 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

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
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 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
# 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
# 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
# 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

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
# 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 urllib

View File

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

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
import os, sys
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
# 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
# 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 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
# 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.

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
# 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 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
# 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
print "python%d.%d" % (sys.version_info[:2])

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
import sys, math
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

View File

@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
import sys
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
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

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