You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/07/29 17:28:21 UTC

git commit: python: strip whitespace

Updated Branches:
  refs/heads/master 2b7397901 -> f651f3cf3


python: strip whitespace


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f651f3cf
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f651f3cf
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f651f3cf

Branch: refs/heads/master
Commit: f651f3cf341389790b6b26586f631b7b2267889f
Parents: 2b73979
Author: James Peach <jp...@apache.org>
Authored: Mon Jul 29 08:28:16 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Mon Jul 29 08:28:26 2013 -0700

----------------------------------------------------------------------
 doc/ext/traffic-server.py | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f651f3cf/doc/ext/traffic-server.py
----------------------------------------------------------------------
diff --git a/doc/ext/traffic-server.py b/doc/ext/traffic-server.py
index 23fd33a..9105b1e 100644
--- a/doc/ext/traffic-server.py
+++ b/doc/ext/traffic-server.py
@@ -18,10 +18,10 @@ class TSConfVar(rst.Directive):
     """
     Description of a traffic server configuration variable.
     Argument is the variable as defined in records.config.
-    
+
     Descriptive text should follow, indented.
     """
-    
+
     option_spec = {
         'class' : rst.directives.class_option,
         'reloadable' : rst.directives.flag,
@@ -42,7 +42,7 @@ class TSConfVar(rst.Directive):
             body.append(value)
         field.append(body)
         return field
-    
+
     def run(self):
         cv_default = None
         cv_scope, cv_name, cv_type = self.arguments[0:3]
@@ -57,7 +57,7 @@ class TSConfVar(rst.Directive):
         # Second (optional) arg is 'msgNode' - no idea what I should pass for that
         # or if it even matters, although I now think it should not be used.
         self.state.document.note_explicit_target(target);
-        
+
         # Do the property fields
         fl = nodes.field_list();
         fl.append(self.make_field('Scope', cv_scope))
@@ -70,13 +70,12 @@ class TSConfVar(rst.Directive):
             fl.append(self.make_field('Reloadable', 'Yes'))
         if ('deprecated' in self.options):
             fl.append(self.make_field('Deprecated', 'Yes'))
-            
+
         # Get any contained content
         nn = nodes.compound();
         self.state.nested_parse(self.content, self.content_offset, nn)
-        
+
         return [ target, title, fl, nn ]
-    
 
 def setup(app):
     app.add_directive('ts:confvar', TSConfVar)