Skip to content

Commit 2c20101

Browse files
Fix Python 3 support
1 parent 55f1cbd commit 2c20101

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22

3-
from BINLOG import *
4-
from FIELD_TYPE import *
3+
from .BINLOG import *
4+
from .FIELD_TYPE import *

pymysqlreplication/packet.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
from pymysql.util import byte2int
66

7-
import constants
8-
import event
9-
import row_event
7+
from pymysqlreplication import constants, event, row_event
108

119
# Constants from PyMYSQL source code
1210
NULL_COLUMN = 251

0 commit comments

Comments
 (0)