Cleaned up st command line parsing; always use included client.py as well

This commit is contained in:
gholt 2010-11-18 22:52:45 +00:00 committed by Tarmac
commit a91879f957
2 changed files with 981 additions and 927 deletions

1900
bin/st

File diff suppressed because it is too large Load Diff

View File

@ -29,8 +29,12 @@ try:
except:
from time import sleep
from swift.common.bufferedhttp \
import BufferedHTTPConnection as HTTPConnection
try:
from swift.common.bufferedhttp \
import BufferedHTTPConnection as HTTPConnection
except:
from httplib import HTTPConnection
def quote(value, safe='/'):
"""