You could use Lint to check your code for syntax errors.
On Mon, Nov 5, 2012 at 4:18 PM, Nikolas Stevenson-Molnar < nik.mol...@consbio.org> wrote: > I tried copy/pasting the code you linked into PyCharm and it worked fine. > Gotta be spacing/indentation somewhere. > > > _Nik > > On 11/5/2012 1:26 AM, Markus Christen wrote: > > I have tryed your input, but i have always the same problem... i cant fix > it. it doesent work and i dont know why. (i have it in pycharm and there > are only these 2 return problems marked.) > > > Am Freitag, 2. November 2012 18:44:46 UTC+1 schrieb ke1g: > >> Surely the error message included a line number? >> >> Also, probably not related, but check that there is no whitespace after >> your line ending back-slashes. (Hint it is safer to put the opening triple >> quote before the backslash, and safer yet to put the triple quoted string >> in a pare of parentheses, the opening one where you have the backslash.) >> >> On Wed, Oct 31, 2012 at 3:28 AM, Markus Christen >> <markusch...@gmail.com>wrote: >> >>> Good Morning >>> I have downloaded files, that can helps by my mssql-odbc connection. >>> This is my downloaded file: >>> http://code.google.com/p/**django-pyodbc/source/browse/** >>> trunk/sql_server/pyodbc/**compiler.py?r=190<http://code.google.com/p/django-pyodbc/source/browse/trunk/sql_server/pyodbc/compiler.py?r=190> >>> >>> On lines 188 and 273, i become the message "'return' outside of >>> function". It's not a space/tab fail, i have checked this. >>> How can i fix this? >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/django-users/-/**uvBBHw13tokJ<https://groups.google.com/d/msg/django-users/-/uvBBHw13tokJ> >>> . >>> To post to this group, send email to django...@googlegroups.com. >>> To unsubscribe from this group, send email to django-users...@** >>> googlegroups.com. >>> For more options, visit this group at http://groups.google.com/** >>> group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en> >>> . >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/DMb-vkIM5xsJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.