ZhiQiang Fan
f72704fc82
Change OpenStack LLC to Foundation
...
Change-Id: I7c3df47c31759dbeb3105f8883e2688ada848d58
Closes-bug: #1214176
2013-09-20 01:02:31 +08:00
Dirk Mueller
3d36a76156
Use Python 3.x compatible except construct
...
except x,y: was deprected and is removed in Python 3.x.
Use "except x as y:" instead which works in any Python
version >= 2.6.
Change-Id: I7008c74b807340f3457d3a0c8bd0b83f23169d14
2013-09-07 10:50:54 +02:00
Monty Taylor
de2e5aa462
Update to flake8 instead of pep8.
...
Change-Id: I3d4a31111c3044da06611405ce80f208ef8a0ce3
2013-05-01 14:19:38 -04:00
Kun Huang
13eabdc744
Improve bin/swift-account-audit
...
1.Correct the usage of initializing a Ring object.
2.Fix typo.
3.Align lines of print_status part. (keep origin author mind)
note: Adam Kijak has commited it at early time, but didn't put it
in Gerrit. I import his commit and send it in right Workflow.
Fixes: bug #1131901
Change-Id: If56316cc424045f7df662d60088382f7fd40e8b1
2013-02-24 20:04:30 +08:00
Joe Gordon
45f0502b52
Fix spelling mistakes
...
git ls-files | misspellings -f -
Source: https://github.com/lyda/misspell-check
Change-Id: I4132e6a276e44e2a8985238358533d315ee8d9c4
2013-02-12 16:39:40 -08:00
Samuel Merritt
35f4d29ed6
Upgrade pep8 to 1.3.3.
...
This required a bunch of whitespace-poking of the scripts in bin, but
that's all. Now every file in swift/ and bin/ is pep8-1.3.3-compliant,
so hopefully we can be done with this pep8 stuff for a good long time.
Change-Id: I44fdb41d219c57400a4c396ab7eb0ffa9dcd8db8
2012-11-26 18:15:21 -08:00
Samuel Merritt
2ccf219ec1
Make scripts in bin/ PEP8-compliant.
...
Also made tox's PEP8 check look at the scripts in bin/ to keep them
PEP8-compliant.
Change-Id: I710365ea929d7fc15578d5f742a236bad47ef28e
2012-05-04 08:24:51 -07:00
Jenkins
6682138b0a
Merge "Make ring class interface slightly more abstracted from implementation."
2012-03-22 20:25:06 +00:00
John Dickinson
1ecf5ebba1
updated copyright date for all files
...
Change-Id: Ifd909d3561c2647770a7e0caa3cd91acd1b4f298
2012-03-19 13:45:34 -05:00
Michael Barton
e008c2ebb8
Make ring class interface slightly more abstracted from implementation.
...
Change-Id: I0f55d61c7b8de30460f17a69e5d9946494dbda6e
2012-03-14 22:00:30 +00:00
David Goetz
51ce438f7f
changing /usr/bin/python to /usr/bin/env python
2011-03-24 15:51:44 -07:00
Chris Wedgwood
615d90b80d
Show account names in output strings.
...
This helps when the output comes from concurrent workers doing the
checking as it's not strictly ordered.
2011-01-24 13:56:39 -08:00
Chris Wedgwood
4b4f07a039
Additional utf-8 encoding fixes to deal with containers.
2011-01-20 16:11:23 -08:00
Chris Wedgwood
92e3364622
Make sure we pass strings correctly to functions that will behave
...
badly otherwise (fix suggested by Chuck Thier).
Tweak account & container name output slightly (makes cut & paste
easier).
2011-01-20 14:57:06 -08:00
Chris Wedgwood
8a5f21b3ac
Fix output formatting (missing tuple).
...
Fix to be robust when container and object counts are None (this
happens if accounts can't be located).
2011-01-18 12:08:22 -08:00
Chris Wedgwood
e618dd567f
Don't unnecessarily quote account, container or object values.
...
This fixed the problem where containers or objects with characters
that need quoting can't be audited because they aren't found.
2011-01-13 23:17:36 -08:00
Anne Gentle
8823427161
Changed copyright notices on py files and the single rst file with a copyright notice
2011-01-04 17:34:43 -06:00
gholt
57970bdeb5
Cleaned up the bins; patched the broken test (when run standalone)
2010-12-29 12:00:08 -08:00
Michael Barton
f432269013
add gettext to all binaries
2010-12-22 17:18:30 +00:00
Monty Taylor
76e6c6ea6c
Renamed bin files in the tree so that setup.py install does the same thing
...
as a deb install.
2010-07-14 09:58:38 -05:00