Author: tomaz
Date: Sat Dec 3 22:27:42 2011
New Revision: 1210026
URL: http://svn.apache.org/viewvc?rev=1210026&view=rev
Log:
pep8.
Modified:
libcloud/trunk/setup.py
Modified: libcloud/trunk/setup.py
URL:
http://svn.apache.org/viewvc/libcloud/trunk/setup.py?rev=1210026&r1=1210025&r2=1210026&view=diff
==============================================================================
--- libcloud/trunk/setup.py (original)
+++ libcloud/trunk/setup.py Sat Dec 3 22:27:42 2011
@@ -43,6 +43,7 @@ if sys.version_info <= (2, 4):
', '.join(SUPPORTED_VERSIONS))
sys.exit(1)
+
def read_version_string():
version = None
sys.path.insert(0, pjoin(os.getcwd()))
@@ -51,6 +52,7 @@ def read_version_string():
sys.path.pop(0)
return version
+
class TestCommand(Command):
description = "run test suite"
user_options = []
@@ -118,7 +120,7 @@ class TestCommand(Command):
for test_module in DOC_TEST_MODULES:
tests.addTests(doctest.DocTestSuite(test_module))
- t = TextTestRunner(verbosity = 2)
+ t = TextTestRunner(verbosity=2)
res = t.run(tests)
return not res.wasSuccessful()
@@ -170,6 +172,7 @@ class ApiDocsCommand(Command):
% (HTML_VIEWSOURCE_BASE, PROJECT_BASE_DIR)
)
+
class CoverageCommand(Command):
description = "run test suite and generate coverage report"
user_options = []