Fixed bug with Egg file generation due to not specifying the provides as a list

develop
Sven Slootweg 13 years ago
parent d6f4003b06
commit 302e6c4c0a

@ -1,3 +1,9 @@
from HTMLParser import HTMLParser
import sys
reload(sys)
sys.setdefaultencoding("UTF-8")
class ResolverError(Exception):
def __init__(self, value):
self.val = value
@ -6,9 +12,4 @@ class ResolverError(Exception):
return repr(self.val)
def unescape(s):
s = s.replace("&lt;", "<")
s = s.replace("&gt;", ">")
s = s.replace("&quot;", '"')
s = s.replace("&apos;", "'")
s = s.replace("&amp;", "&")
return s
return HTMLParser.unescape.__func__(HTMLParser, s)

@ -7,5 +7,5 @@ setup(name='resolv',
author_email='resolv@cryto.net',
url='http://cryto.net/resolv',
packages=['resolv', 'resolv.resolvers'],
provides='resolv'
provides=['resolv']
)

Loading…
Cancel
Save