Skip to content

Commit 944b5ff

Browse files
committed
delete pyc
1 parent 46e4f25 commit 944b5ff

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.eggs
22
.idea
3-
diff.egg-info
3+
*.egg-info
44
*.pyc
55
dist

diff/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
class ContentDiff(object):
1919

2020
def __init__(self, new_content, old_content):
21-
self.new_content = new_content
22-
self.old_content = old_content
21+
self.new_content = to_unicode(new_content)
22+
self.old_content = to_unicode(old_content)
2323
self.tag_map = {}
2424
self.media_url = bidict()
2525
self.code_key = copy.deepcopy(UNICODE_KEY)

diff/__init__.pyc

-4.45 KB
Binary file not shown.

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
from setuptools import setup
33

44
setup(
5-
name='diff',
5+
name='rich_text_diff',
66
version='0.0.1',
77
author='liukai',
88
author_email='[email protected]',
9+
description='diff rich text',
910
packages=['diff'],
1011
test_suite='nose.collector',
12+
url='https://github.com/c1ay/diff',
1113
tests_require=['nose'],
1214
install_requires=[
1315
'lxml',

0 commit comments

Comments
 (0)