aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Madill <jmadill@chromium.org>2016-04-04 11:20:24 -0400
committerTobin Ehlis <tobine@google.com>2016-04-04 10:27:33 -0600
commit3a326d5b0df9a8aa57a1029089508f96d20d0a4a (patch)
treed9d4bdc812105613d3d647a0884e0ff7ce07f2b3
parentba3ae2baedf3d744e54619d09e7dcbb44051867a (diff)
downloadusermoji-3a326d5b0df9a8aa57a1029089508f96d20d0a4a.tar.xz
Allow vk-generate.py to work in Python 2.
There were two places where this script called super, one with Python 2 and 3 compatible syntax and one with Python 3 only. Fix it to use the compatible syntax in both locations.
-rwxr-xr-xvk-generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vk-generate.py b/vk-generate.py
index 6f478a6f..860f994d 100755
--- a/vk-generate.py
+++ b/vk-generate.py
@@ -192,7 +192,7 @@ class WinDefFileSubcommand(Subcommand):
else:
self.exports = library_exports[self.argv[1]]
- super().run()
+ super(WinDefFileSubcommand, self).run()
def generate_copyright(self):
return """; THIS FILE IS GENERATED. DO NOT EDIT.