99b7409c4b45

Formatting changes to assist in code folding.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 02 Mar 2010 18:43:34 -0500
parents 23930691ebe7
children 8a546e4e071e
branches/tags (none)
files review/extension_ui.py

Changes

--- a/review/extension_ui.py	Tue Mar 02 18:39:42 2010 -0500
+++ b/review/extension_ui.py	Tue Mar 02 18:43:34 2010 -0500
@@ -217,13 +217,16 @@
                 _print_comment(comment)
 
 
-_review_effects = {'deleted': ['red'],
-                   'inserted': ['green'],
-                   'comments': ['cyan'],}
-
-_review_re = [(re.compile(r'^(?P<rest> *\d+:  )(?P<colorized>[-].*)'), 'deleted'),
-              (re.compile(r'^(?P<rest> *\d+:  )(?P<colorized>[+].*)'), 'inserted'),
-              (re.compile(r'^(?P<colorized>#.*)'), 'comments'),]
+_review_effects = {
+    'deleted': ['red'],
+    'inserted': ['green'],
+    'comments': ['cyan'],
+}
+_review_re = [
+    (re.compile(r'^(?P<rest> *\d+:  )(?P<colorized>[-].*)'), 'deleted'),
+    (re.compile(r'^(?P<rest> *\d+:  )(?P<colorized>[+].*)'), 'inserted'),
+    (re.compile(r'^(?P<colorized>#.*)'), 'comments'),
+]
 
 def colorwrap(orig, *args):
     '''wrap ui.write for colored diff output'''