Remove unused lines.
This commit is contained in:
@@ -295,7 +295,7 @@ encoders = {
|
||||
datetime.time: escape_time,
|
||||
time.struct_time: escape_struct_time,
|
||||
Decimal: str,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
def through(x):
|
||||
@@ -311,8 +311,6 @@ decoders = {
|
||||
FIELD_TYPE.LONG: int,
|
||||
FIELD_TYPE.FLOAT: float,
|
||||
FIELD_TYPE.DOUBLE: float,
|
||||
FIELD_TYPE.DECIMAL: float,
|
||||
FIELD_TYPE.NEWDECIMAL: float,
|
||||
FIELD_TYPE.LONGLONG: int,
|
||||
FIELD_TYPE.INT24: int,
|
||||
FIELD_TYPE.YEAR: int,
|
||||
@@ -330,7 +328,7 @@ decoders = {
|
||||
FIELD_TYPE.VARCHAR: through,
|
||||
FIELD_TYPE.DECIMAL: Decimal,
|
||||
FIELD_TYPE.NEWDECIMAL: Decimal,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# for MySQLdb compatibility
|
||||
|
||||
Reference in New Issue
Block a user