 Chromium Code Reviews
 Chromium Code Reviews Issue 
            118370:
    Add InputApi.ReadFile() and presubmit_canned_checks.CheckChangeHasNoCR().  (Closed)
    
  
    Issue 
            118370:
    Add InputApi.ReadFile() and presubmit_canned_checks.CheckChangeHasNoCR().  (Closed) 
  | DescriptionAdd InputApi.ReadFile() and presubmit_canned_checks.CheckChangeHasNoCR().
ReadFile limits to reading files inside the repository.
CheckChangeHasNoCR reads the text files looking for \r and fails if found.
TEST=none
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17857
   Patch Set 1 #Patch Set 2 : version #Patch Set 3 : Use mode 'rb' #
      Total comments: 1
      
     
 Messages
    Total messages: 2 (0 generated)
     | |||||||||||||||||||||||||||||||||||||