summaryrefslogtreecommitdiffstats
path: root/Lib/msilib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/msilib')
-rw-r--r--Lib/msilib/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/msilib/__init__.py b/Lib/msilib/__init__.py
index 27b03ea..ad3bf62 100644
--- a/Lib/msilib/__init__.py
+++ b/Lib/msilib/__init__.py
@@ -99,7 +99,7 @@ def add_data(db, table, values):
assert len(value) == count, value
for i in range(count):
field = value[i]
- if isinstance(field, (int, int)):
+ if isinstance(field, int):
r.SetInteger(i+1,field)
elif isinstance(field, basestring):
r.SetString(i+1,field)