diff options
author | Zhongyue Luo <lzyeval@gmail.com> | 2012-05-16 17:08:27 +0800 |
---|---|---|
committer | Zhongyue Luo <lzyeval@gmail.com> | 2012-05-31 11:26:37 +0800 |
commit | 61c5597a09945982f093412cd134850346b82e3b (patch) | |
tree | 17c543635e9a50e5d70f87b8079bbcddb6f14575 /smoketests | |
parent | 0f2142b14adc442840c79a48add0dab78acf7c93 (diff) | |
download | nova-61c5597a09945982f093412cd134850346b82e3b.tar.gz nova-61c5597a09945982f093412cd134850346b82e3b.tar.xz nova-61c5597a09945982f093412cd134850346b82e3b.zip |
Backslash continuation removal (Nova folsom-2)
Fixes bug #938588
Backslash continuations removal for scripts in bin/, plugin/, and etc.
Change-Id: Idd17048b6e8db6e939946968e011e68da8585b8d
Diffstat (limited to 'smoketests')
-rw-r--r-- | smoketests/run_tests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/smoketests/run_tests.py b/smoketests/run_tests.py index 62bdfbec6..30592b6a3 100644 --- a/smoketests/run_tests.py +++ b/smoketests/run_tests.py @@ -133,9 +133,9 @@ class _Win32Colorizer(object): See _AnsiColorizer docstring. """ def __init__(self, stream): - from win32console import GetStdHandle, STD_OUT_HANDLE, \ - FOREGROUND_RED, FOREGROUND_BLUE, FOREGROUND_GREEN, \ - FOREGROUND_INTENSITY + from win32console import (GetStdHandle, STD_OUT_HANDLE, + FOREGROUND_RED, FOREGROUND_GREEN, + FOREGROUND_BLUE, FOREGROUND_INTENSITY) red, green, blue, bold = (FOREGROUND_RED, FOREGROUND_GREEN, FOREGROUND_BLUE, FOREGROUND_INTENSITY) self.stream = stream @@ -291,8 +291,8 @@ class NovaTestRunner(core.TextTestRunner): if __name__ == '__main__': if not os.getenv('EC2_ACCESS_KEY'): - print _('Missing EC2 environment variables. Please ' \ - 'source the appropriate novarc file before ' \ + print _('Missing EC2 environment variables. Please ' + 'source the appropriate novarc file before ' 'running this test.') sys.exit(1) |