summaryrefslogtreecommitdiffstats
path: root/ppapi/generators
diff options
context:
space:
mode:
authornoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 06:25:19 +0000
committernoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 06:25:19 +0000
commitf6e92e273ae932ce85427d5203d59290ee832329 (patch)
treeff69ad8a7af6267993998a53cccb787f7caf5c8d /ppapi/generators
parent5359cfc4c13810fbf746c0539b36acfdc4ae717f (diff)
downloadchromium_src-f6e92e273ae932ce85427d5203d59290ee832329.zip
chromium_src-f6e92e273ae932ce85427d5203d59290ee832329.tar.gz
chromium_src-f6e92e273ae932ce85427d5203d59290ee832329.tar.bz2
Trivial individual generation fix
TBR=binji@chromium.org BUG=164305 Review URL: https://chromiumcodereview.appspot.com/11446046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171704 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/generators')
-rwxr-xr-xppapi/generators/idl_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/generators/idl_generator.py b/ppapi/generators/idl_generator.py
index 63277d2..028a233 100755
--- a/ppapi/generators/idl_generator.py
+++ b/ppapi/generators/idl_generator.py
@@ -107,7 +107,7 @@ class Generator(object):
if releasestr == 'end':
releasestr = ast.releases[-1]
- if releasestr > ast.releases[0]:
+ if releasestr > ast.releases[-1]:
InfoOut.Log('There is no unique release for %s, using last release.' %
releasestr)
releasestr = ast.releases[-1]