summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/version_info.py
diff options
context:
space:
mode:
authorgspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 16:29:41 +0000
committergspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 16:29:41 +0000
commitd73053211c5db825ad997b7900e69b2dd05f8b0c (patch)
treefe5a5467ae1d08356918b569543d09e402234463 /o3d/plugin/version_info.py
parente01087a666ae4be9e183484c7c7e4b5e127f0874 (diff)
downloadchromium_src-d73053211c5db825ad997b7900e69b2dd05f8b0c.zip
chromium_src-d73053211c5db825ad997b7900e69b2dd05f8b0c.tar.gz
chromium_src-d73053211c5db825ad997b7900e69b2dd05f8b0c.tar.bz2
These are gyp file changes that start to make the Mac GYP build work.
It still doesn't but I want to checkpoint these changes. Review URL: http://codereview.chromium.org/155890 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin/version_info.py')
-rw-r--r--o3d/plugin/version_info.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/o3d/plugin/version_info.py b/o3d/plugin/version_info.py
index bda71841..fe92026 100644
--- a/o3d/plugin/version_info.py
+++ b/o3d/plugin/version_info.py
@@ -41,7 +41,6 @@ gflags.DEFINE_boolean('mimetype', False,
gflags.DEFINE_boolean('version', False,
'Print out the plugin version and exit.')
-
def GetDotVersion(version):
return '%d.%d.%d.%d' % version
@@ -51,7 +50,7 @@ def GetCommaVersion(version):
def DoReplace(in_filename, out_filename, replacements):
'''Replace the version number in the given filename with the replacements.'''
if not os.path.exists(in_filename):
- raise Exception(r'''Input template file %s doesn't exist.''' % file)
+ raise Exception(r'''Input template file %s doesn't exist.''' % in_filename)
input_file = open(in_filename, 'r')
input = input_file.read()
input_file.close()