Changeset - 18565813d4e3
[Not reviewed]
default
0 2 0
timeless@gmail.com - 10 years ago 2016-05-03 14:02:13
timeless@gmail.com
spelling: it'll
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/diffs.py
Show inline comments
 
@@ -622,13 +622,13 @@ class DiffProcessor(object):
 
        # Remove everything that is not a hyphen or a member of \w
 
        idstring = re.sub(r'(?!-)\W', "", idstring).lower()
 
        return idstring
 

	
 
    def prepare(self, inline_diff=True):
 
        """
 
        Prepare the passed udiff for HTML rendering. It'l return a list
 
        Prepare the passed udiff for HTML rendering. It'll return a list
 
        of dicts with diff information
 
        """
 
        parsed = self._parser(inline_diff=inline_diff)
 
        self.parsed = True
 
        self.parsed_diff = parsed
 
        return parsed
kallithea/lib/vcs/utils/diffs.py
Show inline comments
 
@@ -332,13 +332,13 @@ class DiffProcessor(object):
 
                    pass
 

	
 
        return files
 

	
 
    def prepare(self):
 
        """
 
        Prepare the passed udiff for HTML rendering. It'l return a list
 
        Prepare the passed udiff for HTML rendering. It'll return a list
 
        of dicts
 
        """
 
        return self._parse_udiff()
 

	
 
    def _safe_id(self, idstring):
 
        """Make a string safe for including in an id attribute.
0 comments (0 inline, 0 general)