| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Get stats about your activity. | 6 """Get stats about your activity. |
| 7 | 7 |
| 8 Example: | 8 Example: |
| 9 - my_activity.py for stats for the current week (last week on mondays). | 9 - my_activity.py for stats for the current week (last week on mondays). |
| 10 - my_activity.py -Q for stats for last quarter. | 10 - my_activity.py -Q for stats for last quarter. |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 }, | 125 }, |
| 126 ] | 126 ] |
| 127 | 127 |
| 128 google_code_projects = [ | 128 google_code_projects = [ |
| 129 { | 129 { |
| 130 'name': 'chromium', | 130 'name': 'chromium', |
| 131 'shorturl': 'crbug.com', | 131 'shorturl': 'crbug.com', |
| 132 }, | 132 }, |
| 133 { | 133 { |
| 134 'name': 'chromium-os', | 134 'name': 'chromium-os', |
| 135 'shorturl': 'crosbug.com', |
| 135 }, | 136 }, |
| 136 { | 137 { |
| 137 'name': 'chrome-os-partner', | 138 'name': 'chrome-os-partner', |
| 138 }, | 139 }, |
| 139 { | 140 { |
| 140 'name': 'google-breakpad', | 141 'name': 'google-breakpad', |
| 141 }, | 142 }, |
| 142 { | 143 { |
| 143 'name': 'gyp', | 144 'name': 'gyp', |
| 144 }, | 145 }, |
| (...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 print '\n\n\n' | 1003 print '\n\n\n' |
| 1003 | 1004 |
| 1004 my_activity.print_changes() | 1005 my_activity.print_changes() |
| 1005 my_activity.print_reviews() | 1006 my_activity.print_reviews() |
| 1006 my_activity.print_issues() | 1007 my_activity.print_issues() |
| 1007 return 0 | 1008 return 0 |
| 1008 | 1009 |
| 1009 | 1010 |
| 1010 if __name__ == '__main__': | 1011 if __name__ == '__main__': |
| 1011 sys.exit(main()) | 1012 sys.exit(main()) |
| OLD | NEW |