Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Fixes to support Python 3 #2

Merged
merged 4 commits into from
Jun 16, 2013
Merged

Fixes to support Python 3 #2

merged 4 commits into from
Jun 16, 2013

Conversation

pib
Copy link
Contributor

@pib pib commented Jun 10, 2013

Some fairly basic changes to make the code work with Python 3. It still runs fine in Python 2.7 as well (and should run fine in 2.6, but I haven't tested that).

One of the tests will fail until this fix is merged into Pyramid: Pylons/pyramid#1032

Of course, it could also be fixed by changing line 79 of betahaus/viewcomponent/models.py from

if va.containment and not find_interface(context, va.containment):

to

if va.containment and find_interface(context, va.containment) is not None:

@robinharms
Copy link
Collaborator

Hi, thanks a lot for this! I'll look into it in a few days, and I'll probably be able to make a new release then with some new things.

robinharms added a commit that referenced this pull request Jun 16, 2013
Fixes to support Python 3 - thanks a lot @pib :)
@robinharms robinharms merged commit e0abdc3 into BetahausNGO:master Jun 16, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants