Skip to content

Commit

Permalink
Merge pull request #7 from plone/tomgross-removeunusedcode
Browse files Browse the repository at this point in the history
Second try: "Merge tomgross-removeunusedcode"
  • Loading branch information
tisto committed Mar 6, 2015
2 parents b5892d2 + cd65405 commit efade1d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 49 deletions.
3 changes: 2 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
2.0.4 (unreleased)
------------------

- Nothing changed yet.
- Removed unused testing code with dependency to PloneTestCase
[tomgross]


2.0.3 (2015-02-11)
Expand Down
13 changes: 8 additions & 5 deletions plone/openid/config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import pkg_resources

try:
from openid.yadis import etxrd
HAS_OPENID=True
except:
HAS_OPENID=False
pkg_resources.get_distribution('openid.yadis')
except pkg_resources.DistributionNotFound:
HAS_OPENID = False
else:
HAS_OPENID = True

import socket
HAS_SSL=hasattr(socket, "ssl")
HAS_SSL = hasattr(socket, "ssl")
del socket
3 changes: 0 additions & 3 deletions plone/openid/tests/layer.py

This file was deleted.

39 changes: 0 additions & 39 deletions plone/openid/tests/oitestcase.py

This file was deleted.

4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@
classifiers=[
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 5.0",
"Framework :: Zope2",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Topic :: System :: Systems Administration :: Authentication/Directory",
],
keywords='PAS openid authentication',
author='Plone Foundation',
author_email='plone-developers@lists.sourceforge.net',
url='http://svn.plone.org/svn/plone/plone.openid',
url='https://github.com/plone/plone.openid',
license='BSD',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['plone'],
Expand Down

0 comments on commit efade1d

Please sign in to comment.