diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-17 00:00:11 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-17 00:00:11 +0000 |
commit | 2729f5ffe1b6223140129ca7044922b34d7f6c46 (patch) | |
tree | ccc22b082d241c707832dfd8d9ee61228e55193f /tools/grit | |
parent | ac722cd4e559da54da741bc362a540a7acd289d4 (diff) | |
download | chromium_src-2729f5ffe1b6223140129ca7044922b34d7f6c46.zip chromium_src-2729f5ffe1b6223140129ca7044922b34d7f6c46.tar.gz chromium_src-2729f5ffe1b6223140129ca7044922b34d7f6c46.tar.bz2 |
grit: Set first_id XML attribute as a string.
BUG=none
TEST=compile works again (not sure why it was only failing for me and a few others)
Review URL: http://codereview.chromium.org/3018006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52772 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/grit')
-rw-r--r-- | tools/grit/grit/node/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grit/grit/node/misc.py b/tools/grit/grit/node/misc.py index 62055a7..6ede0c6 100644 --- a/tools/grit/grit/node/misc.py +++ b/tools/grit/grit/node/misc.py @@ -282,7 +282,7 @@ class GritNode(base.Node): raise e try: - node.attrs['first_id'] = id_list.pop(0) + node.attrs['first_id'] = str(id_list.pop(0)) except IndexError, e: raise Exception('Please update %s and add a first id for %s (%s).' % (first_id_filename, filename, node.name)) |