[MERGE][BUG #77533][RFC] ignore files with invalid filenames

Aaron Bentley aaron.bentley at utoronto.ca
Mon Aug 20 21:04:41 BST 2007


Aaron Bentley has voted tweak.
Status is now: Semi-approved
Comment:
This looks redundant:

+                        try:
+                            unicode_path_info = 
current_path_info[0].decode('utf8')
+                        except UnicodeDecodeError:
+                            unicode_path_info = None
+                        if unicode_path_info is not None:
+                            if 
self.target._directory_is_tree_reference(
+                                current_path_info[0].decode('utf8')):

Any reason not to use unicode_path_info directly instead of decoding it 
again?

Looks fine, otherwise

For details, see: 
http://bundlebuggy.aaronbentley.com/request/%3C46BB444C.3020506%40terra.com.br%3E



More information about the bazaar mailing list