query from sqlalchemy returns AttributeError: 'NoneType' object

Dave Angel davea at davea.name
Thu May 2 19:29:11 EDT 2013


On 05/02/2013 06:14 PM, karthik.sharma at gmail.com wrote:
> from pox.core import core
>      import pox.openflow.libopenflow_01 as of
>      import re
>      import datetime
>


You're mixing tabs and space, so all bets are off.  No promise that the 
compiler will interpret the indentations the same way you see them.

Use your editor to expand all the tabs to space, then check whether the 
code still makes sense to you.  Then if you want to post a new question, 
show us the new version of code.

Also this time post the error traceback that matches the version of the 
code you're showing us.

And don't bother double-posting on tutor.

-- 
DaveA



More information about the Python-list mailing list