コード例 #1
0
 def compile_messages(self, locations):
     # Avoid compiling po files in DATA_DIR
     locations = [
         location for location in locations if not should_skip(location[0])
     ]
     if not locations:
         return
     super().compile_messages(locations)
コード例 #2
0
 def find_files(self, root):
     return [obj for obj in super().find_files(root) if not should_skip(obj.path)]