Chromium Code Reviews| Index: dart/tools/utils.py |
| diff --git a/dart/tools/utils.py b/dart/tools/utils.py |
| index 95ddece00260b94b910223ec4c23b6478690f74e..89da10fc490ae35decea341732bf41004e3a91bc 100644 |
| --- a/dart/tools/utils.py |
| +++ b/dart/tools/utils.py |
| @@ -262,6 +262,10 @@ def GetVersion(): |
| return ("%s.%s.%s.%s%s%s" % |
| (major, minor, build, patch, revision_string, user_string)) |
| +def GetChannel(): |
| + (channel, _, _, _, _) = ReadVersionFile() |
| + return channel |
| + |
| def GetUserName(): |
| key = 'USER' |
| if sys.platform == 'win32': |