• 
      

    Make issue_opened and issue_status more consistent.

    Review Request #4404 — Created Aug. 7, 2013 and submitted

    Information

    Review Board
    master

    Reviewers

    Make issue_opened and issue_status more consistent.
    
    If a user creates a comment with an issue, and later removes that issue before
    publishing, we end up in a weird state where the issue_status is still 'O' but
    issue_opened is false. This change fixes it to clear out issue_status when
    removing the issue_opened bit.
    Ran unit tests.
    Description From Last Updated

    Col: 80 E501 line too long (120 > 79 characters)

    reviewbotreviewbot

    Col: 49 E702 multiple statements on one line (semicolon)

    reviewbotreviewbot

    Col: 80 E501 line too long (120 > 79 characters)

    reviewbotreviewbot
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
          reviewboard/webapi/tests.py
          reviewboard/webapi/resources.py
        Ignored Files:
      
      
    2. reviewboard/webapi/tests.py (Diff revision 1)
       
       
      Show all issues
      Col: 80
       E501 line too long (120 > 79 characters)
      
    3. reviewboard/webapi/tests.py (Diff revision 1)
       
       
      Show all issues
      Col: 49
       E702 multiple statements on one line (semicolon)
      
    4. 
        
    reviewbot
    1. This is a review from Review Bot.
        Tool: Pyflakes
        Processed Files:
          reviewboard/webapi/tests.py
          reviewboard/webapi/resources.py
        Ignored Files:
      
      
    2. 
        
    david
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
          reviewboard/webapi/tests.py
          reviewboard/webapi/resources.py
        Ignored Files:
      
      
    2. reviewboard/webapi/tests.py (Diff revision 2)
       
       
      Show all issues
      Col: 80
       E501 line too long (120 > 79 characters)
      
    3. 
        
    reviewbot
    1. This is a review from Review Bot.
        Tool: Pyflakes
        Processed Files:
          reviewboard/webapi/tests.py
          reviewboard/webapi/resources.py
        Ignored Files:
      
      
    2. 
        
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (1c98b2c).