| 
				
			 | 
			
			
				@@ -21,7 +21,7 @@ META_INFO = { 
			 | 
		
	
		
			
			| 
				21
			 | 
			
				21
			 | 
			
			
				 import sys 
			 | 
		
	
		
			
			| 
				22
			 | 
			
				22
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				23
			 | 
			
				23
			 | 
			
			
				 if sys.hexversion < 0x02050000: 
			 | 
		
	
		
			
			| 
				24
			 | 
			
				
			 | 
			
			
				-    raise SystemExit("*** Requires python >= 2.5.0") 
			 | 
		
	
		
			
			| 
				
			 | 
			
				24
			 | 
			
			
				+    raise SystemExit("*** Requires python >= 2.5.0")    # pragma: no cover 
			 | 
		
	
		
			
			| 
				25
			 | 
			
				25
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				26
			 | 
			
				26
			 | 
			
			
				 import re 
			 | 
		
	
		
			
			| 
				27
			 | 
			
				27
			 | 
			
			
				 import subprocess 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -118,10 +118,6 @@ class Hunk(object): 
			 | 
		
	
		
			
			| 
				118
			 | 
			
				118
			 | 
			
			
				                 out.append(line) 
			 | 
		
	
		
			
			| 
				119
			 | 
			
				119
			 | 
			
			
				         return out 
			 | 
		
	
		
			
			| 
				120
			 | 
			
				120
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				121
			 | 
			
				
			 | 
			
			
				-    def __iter__(self): 
			 | 
		
	
		
			
			| 
				122
			 | 
			
				
			 | 
			
			
				-        for hunk_line in self._hunk_list: 
			 | 
		
	
		
			
			| 
				123
			 | 
			
				
			 | 
			
			
				-            yield hunk_line 
			 | 
		
	
		
			
			| 
				124
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				125
			 | 
			
				121
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				126
			 | 
			
				122
			 | 
			
			
				 class Diff(object): 
			 | 
		
	
		
			
			| 
				127
			 | 
			
				123
			 | 
			
			
				  
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -136,41 +132,41 @@ class Diff(object): 
			 | 
		
	
		
			
			| 
				136
			 | 
			
				132
			 | 
			
			
				     # non-recognized lines are considered as headers 
			 | 
		
	
		
			
			| 
				137
			 | 
			
				133
			 | 
			
			
				     # 
			 | 
		
	
		
			
			| 
				138
			 | 
			
				134
			 | 
			
			
				     def is_old_path(self, line): 
			 | 
		
	
		
			
			| 
				139
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				135
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				140
			 | 
			
				136
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				141
			 | 
			
				137
			 | 
			
			
				     def is_new_path(self, line): 
			 | 
		
	
		
			
			| 
				142
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				138
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				143
			 | 
			
				139
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				144
			 | 
			
				140
			 | 
			
			
				     def is_hunk_meta(self, line): 
			 | 
		
	
		
			
			| 
				145
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				141
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				146
			 | 
			
				142
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				147
			 | 
			
				143
			 | 
			
			
				     def parse_hunk_meta(self, line): 
			 | 
		
	
		
			
			| 
				148
			 | 
			
				144
			 | 
			
			
				         """Returns a 2-element tuple, each is a tuple of (start, offset)""" 
			 | 
		
	
		
			
			| 
				149
			 | 
			
				
			 | 
			
			
				-        return None 
			 | 
		
	
		
			
			| 
				
			 | 
			
				145
			 | 
			
			
				+        return None         # pragma: no cover 
			 | 
		
	
		
			
			| 
				150
			 | 
			
				146
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				151
			 | 
			
				147
			 | 
			
			
				     def parse_hunk_line(self, line): 
			 | 
		
	
		
			
			| 
				152
			 | 
			
				148
			 | 
			
			
				         """Returns a 2-element tuple: (attr, text), where attr is: 
			 | 
		
	
		
			
			| 
				153
			 | 
			
				149
			 | 
			
			
				                 '-': old, '+': new, ' ': common 
			 | 
		
	
		
			
			| 
				154
			 | 
			
				150
			 | 
			
			
				         """ 
			 | 
		
	
		
			
			| 
				155
			 | 
			
				
			 | 
			
			
				-        return None 
			 | 
		
	
		
			
			| 
				
			 | 
			
				151
			 | 
			
			
				+        return None         # pragma: no cover 
			 | 
		
	
		
			
			| 
				156
			 | 
			
				152
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				157
			 | 
			
				153
			 | 
			
			
				     def is_old(self, line): 
			 | 
		
	
		
			
			| 
				158
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				154
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				159
			 | 
			
				155
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				160
			 | 
			
				156
			 | 
			
			
				     def is_new(self, line): 
			 | 
		
	
		
			
			| 
				161
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				157
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				162
			 | 
			
				158
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				163
			 | 
			
				159
			 | 
			
			
				     def is_common(self, line): 
			 | 
		
	
		
			
			| 
				164
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				160
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				165
			 | 
			
				161
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				166
			 | 
			
				162
			 | 
			
			
				     def is_eof(self, line): 
			 | 
		
	
		
			
			| 
				167
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				163
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				168
			 | 
			
				164
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				169
			 | 
			
				165
			 | 
			
			
				     def is_only_in_dir(self, line): 
			 | 
		
	
		
			
			| 
				170
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				166
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				171
			 | 
			
				167
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				172
			 | 
			
				168
			 | 
			
			
				     def is_binary_differ(self, line): 
			 | 
		
	
		
			
			| 
				173
			 | 
			
				
			 | 
			
			
				-        return False 
			 | 
		
	
		
			
			| 
				
			 | 
			
				169
			 | 
			
			
				+        return False        # pragma: no cover 
			 | 
		
	
		
			
			| 
				174
			 | 
			
				170
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				175
			 | 
			
				171
			 | 
			
			
				     # Followings are not suppose to override 
			 | 
		
	
		
			
			| 
				176
			 | 
			
				172
			 | 
			
			
				     # 
			 |