12 Commits

Author SHA1 Message Date
lzyeval
8b09723a00 PEP8 swift cleanup
The None, True, and False values are singletons.

All variable *comparisons* to singletons should use 'is' or 'is not'.
All variable *evaluations* to boolean should use 'if' or 'if not'.
All Object type comparisons should use isinstance()
instead of comparing types directly.

Change-Id: I47863c4862791022670619f19b8bc15d8a93fd81
2012-01-04 14:53:53 +08:00
David Goetz
b875825e0f adding unit tests and conf changes 2011-05-10 15:36:01 -07:00
David Goetz
86c84c3bc3 unittests workng and added probe test 2011-03-15 22:12:03 -07:00
Clay Gerrard
6554c16e0a merged trunk 2011-02-12 01:55:57 -06:00
Clay Gerrard
1095f27590 Prepare for trunk merge.
Refactored some of the swift_init classes into a new module in
swift.common, changed some names.  Removed the bin test stuff.  Fixed
some bugs, added some features.
2011-02-11 13:18:19 -06:00
Clay Gerrard
e64e21dd01 pep8 2011-01-19 16:19:43 -06:00
Clay Gerrard
105315dfc4 obsolete PATH_TO_TEST_XFS 2011-01-19 14:18:37 -06:00
Clay Gerrard
57a35f0d7c added helper/util to parse command line args; removed some duplicated code in
server/daemon bin scripts;  more standized python/linux daemonization
procedures; fixed lp:666957 "devauth server creates auth.db with the wrong
privileges"; new run_daemon helper based on run_wsgi simplifies daemon
launching/testing; new - all servers/daemons support verbose option when
started interactivlty which will log to the console; fixed lp:667839 "can't
start servers with relative paths to configs"; added tests
2010-11-11 16:41:07 -06:00
Clay Gerrard
17a108a633 removed extra assignment 2010-07-29 15:06:01 -05:00
Clay Gerrard
7ae6ec0675 typo 2010-07-29 13:31:27 -05:00
Clay Gerrard
4a27df057d moved LIMIT_LISTING const to swift.common.constraints, added test.unit.MockTrue, 100% test coverage on swift.common.constraints 2010-07-29 13:30:16 -05:00
Chuck Thier
001407b969 Initial commit of Swift code 2010-07-12 17:03:45 -05:00