Help need

S

sr_sutar

HI group,

During doing some codeing with python i got the inline error,


def my_word( offset ):
try:
j = ord(t[offset]) + 256*ord(t[offset+1])# + 65536*ord(t
[offset+2]) + 16777216*ord(t[offset+3])
#return j
except IndexError:
# print "Exception"
return j
def my_bpp( mode ):
if mode & 0xF8000000:
return 1 << ( ( (mode >> 27) & 31 ) - 1 )
if mode==20 or mode==27:
return 4
return 0



File "../../../source/ant//tools/scripts/python/sprites.py", line 31
j = ord(t[offset]) + 256*ord(t[offset+1])# + 65536*ord(t
[offset+2]) + 16777216*ord(t[offset+3])
^
IndentationError: expected an indented block
make[2]: *** [swapped.out] Error 1
make[1]: *** [ant_final_target] Error 2
make: *** [rest] Error 2


Any Help?

With Best Regards,
Soumya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,271
Messages
2,571,357
Members
48,042
Latest member
DoraMcBrie

Latest Threads

Top