Revision 7b3cbe02 autotools/convert-constants

b/autotools/convert-constants
1 1
#!/usr/bin/python
2 2
#
3 3

  
4
# Copyright (C) 2011, 2012 Google Inc.
4
# Copyright (C) 2011, 2012, 2013 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
87 87
  """
88 88
  if isinstance(value, basestring):
89 89
    return ("String", "\"%s\"" % StringValueRules(value))
90
  elif isinstance(value, bool):
91
    return ("Bool", "%s" % value)
90 92
  elif isinstance(value, int):
91 93
    return ("Int", "%d" % value)
92 94
  elif isinstance(value, long):

Also available in: Unified diff