Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Unified Diff: dart/tools/utils.py

Issue 84963005: Add update.properties file to com.google.dart.tools.core_*.jar file (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/tools/create_editor.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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':
« no previous file with comments | « dart/tools/create_editor.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698