• 
      

    Fix usage of timedelta.total_seconds() in condensediffs.

    Review Request #6304 — Created Sept. 8, 2014 and submitted

    Information

    Review Board
    release-2.0.x
    15187c5...

    Reviewers

    The total_seconds() method doesn't exist in Python 2.6, so we can't use it
    yet. This change replaces it with the equivalent implementation (and moves us
    over to using true division throughout this file as a side effect).

    Condensed some diffs.

    Description From Last Updated

    Blank line before this.

    chipx86chipx86

    Col: 73 E226 missing whitespace around arithmetic operator

    reviewbotreviewbot

    Col: 31 E226 missing whitespace around arithmetic operator

    reviewbotreviewbot
    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          reviewboard/diffviewer/management/commands/condensediffs.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          reviewboard/diffviewer/management/commands/condensediffs.py
      
      
    2. Show all issues
      Col: 73
       E226 missing whitespace around arithmetic operator
      
    3. Show all issues
      Col: 31
       E226 missing whitespace around arithmetic operator
      
    4. 
        
    david
    chipx86
    1. 
        
    2. Show all issues

      Blank line before this.

    3. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-2.0.x (46f92da)