-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from plone/tomgross-removeunusedcode
Second try: "Merge tomgross-removeunusedcode"
- Loading branch information
Showing
5 changed files
with
13 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters