Created
October 3, 2013 00:09
-
-
Save zaitcev/6802518 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[zaitcev@lembas swift-fetch]$ git review -d 44097 | |
Downloading refs/changes/97/44097/18 from gerrit | |
Switched to branch "review/peter_portante/ts" | |
[zaitcev@lembas swift-fetch]$ git branch -a | |
master | |
review/chuck_thier/memcache_conns | |
review/clay_gerrard/open-instead-of-init | |
review/fabien_boucher/bug/1210045 | |
review/pete_zaitcev/be/split | |
review/peter_portante/ondisk | |
* review/peter_portante/ts | |
remotes/gerrit/feature/ec | |
remotes/gerrit/master | |
remotes/gerrit/stable/folsom | |
remotes/gerrit/stable/grizzly | |
remotes/origin/HEAD -> origin/master | |
remotes/origin/master | |
[zaitcev@lembas swift-fetch]$ PYTHONPATH=$(pwd) python | |
Python 2.7.5 (default, Aug 22 2013, 09:31:58) | |
[GCC 4.8.1 20130603 (Red Hat 4.8.1-1)] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from swift.common.request_helpers import request_timestamp | |
/usr/lib/python2.7/site-packages/pbr/version.py:21: UserWarning: Module swift was already imported from swift/__init__.py, but /usr/lib/python2.7/site-packages is being added to sys.path | |
import pkg_resources | |
>>> from swift.common.swob import Request | |
>>> req=Request("/v1/moo", headers={'X-Timestamp': "0.0"}) | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
TypeError: __init__() got an unexpected keyword argument 'headers' | |
>>> req=Request.blank("/v1/moo", headers={'X-Timestamp': "0.0"}) | |
>>> request_timestamp(req) | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "swift/common/request_helpers.py", line 118, in request_timestamp | |
content_type='text/plain') | |
swift.common.swob.HTTPException: 400 Bad Request | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment