← Back to team overview

dulwich-users team mailing list archive

[PATCH 1 of 4] objects: clean up trailing whitespace

 

# HG changeset patch
# User Augie Fackler <durin42@xxxxxxxxx>
# Date 1289783813 -21600
# Node ID c6f1c2e6e83bf8cbf3a875369c097d07c7ff13bb
# Parent  1acb5f1c39c3873890372f9f76d873d35f576002
objects: clean up trailing whitespace

Change-Id: I461997c0a9eb84b401cef1bbaaf4dd9d13b39981

diff --git a/dulwich/objects.py b/dulwich/objects.py
--- a/dulwich/objects.py
+++ b/dulwich/objects.py
@@ -143,7 +143,7 @@
     """Check if the specified identity is valid.
 
     This will raise an exception if the identity is not valid.
-    
+
     :param identity: Identity string
     :param error_msg: Error message to use in exception
     """
@@ -175,7 +175,7 @@
 class ShaFile(object):
     """A git SHA file."""
 
-    __slots__ = ('_needs_parsing', '_chunked_text', '_file', '_path', 
+    __slots__ = ('_needs_parsing', '_chunked_text', '_file', '_path',
                  '_sha', '_needs_serialization', '_magic')
 
     @staticmethod
@@ -564,7 +564,7 @@
     type_name = 'tag'
     type_num = 4
 
-    __slots__ = ('_tag_timezone_neg_utc', '_name', '_object_sha', 
+    __slots__ = ('_tag_timezone_neg_utc', '_name', '_object_sha',
                  '_object_class', '_tag_time', '_tag_timezone',
                  '_tagger', '_message')
 
@@ -731,7 +731,7 @@
 
 
 def sorted_tree_items(entries):
-    """Iterate over a tree entries dictionary in the order in which 
+    """Iterate over a tree entries dictionary in the order in which
     the items would be serialized.
 
     :param entries: Dictionary mapping names to (mode, sha) tuples
@@ -822,9 +822,9 @@
 
     def entries(self):
         """Return a list of tuples describing the tree entries.
-        
-        :note: The order of the tuples that are returned is different from that 
-            returned by the items and iteritems methods. This function will be 
+
+        :note: The order of the tuples that are returned is different from that
+            returned by the items and iteritems methods. This function will be
             deprecated in the future.
         """
         self._ensure_parsed()
@@ -903,7 +903,7 @@
     """Parse a timezone text fragment (e.g. '+0100').
 
     :param text: Text to parse.
-    :return: Tuple with timezone as seconds difference to UTC 
+    :return: Tuple with timezone as seconds difference to UTC
         and a boolean indicating whether this was a UTC timezone
         prefixed with a negative sign (-0000).
     """



References