[Tutor] python error: IndentationError: expected an indented block

Antonios Katsikadamos antonioskatsikadamos at yahoo.com
Wed Nov 8 16:45:26 CET 2006


hi all. I try to run an old python code and i get the following message

File "/home/antonis/db/access.py", line 119
    def DoCsubnet1 (action, subject, target, args):             # DoC servers net
      ^
IndentationError: expected an indented block

1) and I don't know what causes it. I would be grate full if you could give me a tip.

2) how can i overcome it? Can i use the keyword pass?


Kind regards,

Antonios


 
---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061108/4dc3cd02/attachment.htm 


More information about the Tutor mailing list