| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 # Copyright (c) 2010, Google Inc. | 3 # Copyright (c) 2010, Google Inc. |
| 4 # All rights reserved. | 4 # All rights reserved. |
| 5 # | 5 # |
| 6 # Redistribution and use in source and binary forms, with or without | 6 # Redistribution and use in source and binary forms, with or without |
| 7 # modification, are permitted provided that the following conditions are | 7 # modification, are permitted provided that the following conditions are |
| 8 # met: | 8 # met: |
| 9 # | 9 # |
| 10 # * Redistributions of source code must retain the above copyright | 10 # * Redistributions of source code must retain the above copyright |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 178 |
| 179 def PrintFlagsWithValues(self, flag_values): | 179 def PrintFlagsWithValues(self, flag_values): |
| 180 prefix = 'flags ' | 180 prefix = 'flags ' |
| 181 flags_with_values = [] | 181 flags_with_values = [] |
| 182 for key in self.flag_names: | 182 for key in self.flag_names: |
| 183 flags_with_values.append('%s=%s' % (key, flag_values[key].value)) | 183 flags_with_values.append('%s=%s' % (key, flag_values[key].value)) |
| 184 return prefix + ', '.join(flags_with_values) | 184 return prefix + ', '.join(flags_with_values) |
| 185 | 185 |
| 186 def GetFlagsNames(self): | 186 def GetFlagsNames(self): |
| 187 return self.flag_names | 187 return self.flag_names |
| OLD | NEW |