From 58f8703ecdc42545defb7ae4799f0262cda08e9e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 25 Mar 2011 22:59:18 +0000 Subject: [PATCH] minor update before bedtime --- plugins/generic/enumeration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index ffcbe2256..c2ccd6c45 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1214,9 +1214,9 @@ class Enumeration: retVal = value if isinstance(value, basestring) and not re.match(r"\A[A-Za-z0-9_]+\Z", value): if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.ACCESS): - retVal = "`%s`" % value + retVal = "`%s`" % value.strip("`") elif Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.ORACLE, DBMS.PGSQL): - retVal = "\"%s\"" % value + retVal = "\"%s\"" % value.strip("\"") return retVal def dumpTable(self):