diff --git a/src/htmlparser/generate_fsm.py b/src/htmlparser/generate_fsm.py
index 9106b96..3f1e535 100755
--- a/src/htmlparser/generate_fsm.py
+++ b/src/htmlparser/generate_fsm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Copyright (c) 2008, Google Inc.
 # All rights reserved.