Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44646
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.031 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; "subject:' ": 0.07; 'subject:query': 0.07; 'def': 0.12; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'subject:object': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'looks': 0.24; 'header:In-Reply-To:1': 0.27; "skip:' 10": 0.31; 'indentation': 0.31; 'class': 0.32; 'skip:_ 10': 0.34; 'subject:from': 0.34; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'email addr:gmail.com': 0.63; 'header :Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'subject:skip:A 10': 0.78; 'reply-to:addr:python.org': 0.84 |
| X-CM-Score | 0.00 |
| X-CNFS-Analysis | v=2.1 cv=TZ6v63gh c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=7AxPfEIvyrUA:10 a=J1ghyS8IgoIA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=OlRc4kjgQv4A:10 a=pGLkceISAAAA:8 a=7CnyCjb2CwTWMpPwVAMA:9 a=j8xQFd7ffG7kwo5b:21 a=AcfT17G4a6BDYGLp:21 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 |
| X-AUTH | mrabarnett:2500 |
| Date | Fri, 03 May 2013 00:17:41 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: query from sqlalchemy returns AttributeError: 'NoneType' object |
| References | <cc9b6315-dcd5-42c7-a5ca-e5df1d51348c@googlegroups.com> |
| In-Reply-To | <cc9b6315-dcd5-42c7-a5ca-e5df1d51348c@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | python-list@python.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1255.1367536656.3114.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1367536656 news.xs4all.nl 15863 [2001:888:2000:d::a6]:35877 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44646 |
Show key headers only | View raw
On 02/05/2013 23:14, karthik.sharma@gmail.com wrote: [snip] > > ######################################################################## > class SourcetoPort(Base): > """""" > __tablename__ = 'source_to_port' > id = Column(Integer, primary_key=True) > port_no = Column(Integer) > src_address = Column(String,index=True) > > #---------------------------------------------------------------------- > def __init__(self, src_address,port_no): > """""" > self.src_address = src_address The indentation of this line looks wrong: > self.port_no = port_no > > ######################################################################## [snip]
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
query from sqlalchemy returns AttributeError: 'NoneType' object karthik.sharma@gmail.com - 2013-05-02 15:14 -0700 Re: query from sqlalchemy returns AttributeError: 'NoneType' object MRAB <python@mrabarnett.plus.com> - 2013-05-03 00:17 +0100 Re: query from sqlalchemy returns AttributeError: 'NoneType' object Dave Angel <davea@davea.name> - 2013-05-02 19:29 -0400
csiph-web