summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/tests/utils.py
diff options
context:
space:
mode:
authorDirk Wallenstein <halsmit@t-online.de>2011-01-12 23:05:08 +0000
committerJeremy Kerr <jk@ozlabs.org>2011-02-11 08:52:19 +0800
commitbf0aef79a1e5b1d0b78c10df4a610b0a7b2d365f (patch)
tree44b099a890adbbbab26df53bcde11c111749e2f9 /apps/patchwork/tests/utils.py
parent9dee7bf3a168d7662709b5e0fba04ef34e05c01e (diff)
downloadpatchwork-bf0aef79a1e5b1d0b78c10df4a610b0a7b2d365f.tar.bz2
patchwork-bf0aef79a1e5b1d0b78c10df4a610b0a7b2d365f.tar.xz
Replace tab in indentation with space
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/tests/utils.py')
-rw-r--r--apps/patchwork/tests/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/patchwork/tests/utils.py b/apps/patchwork/tests/utils.py
index cf445aa..02c4bd4 100644
--- a/apps/patchwork/tests/utils.py
+++ b/apps/patchwork/tests/utils.py
@@ -40,7 +40,7 @@ class defaults(object):
patch_author = 'Patch Author <patch-author@example.com>'
patch_author_person = Person(name = 'Patch Author',
- email = 'patch-author@example.com')
+ email = 'patch-author@example.com')
comment_author = 'Comment Author <comment-author@example.com>'
@@ -92,7 +92,7 @@ def find_in_context(context, key):
def read_patch(filename, encoding = None):
file_path = os.path.join(_test_patch_dir, filename)
if encoding is not None:
- f = codecs.open(file_path, encoding = encoding)
+ f = codecs.open(file_path, encoding = encoding)
else:
f = file(file_path)