In line 339 you have `except RuntimeError:` which expects intended block.
It looks like some problem with applied patch, something is missing, or similar.
If this is correct patch, you can add in line 340, with correct intendation 
Python keyword `pass`.

But, if you have this problem, there could be also couple different issues.

Darek

> On Sep 1, 2016, at 06:33, Satish Patel <[email protected]> wrote:
> 
> Look like i have this patch missing in my mitaka RDO repo
> https://bugs.launchpad.net/neutron/+bug/1602436
> 
> Patch: https://launchpadlibrarian.net/273591819/router_info.patch
> 
> So i have manually applied patch with following command:
> 
> patch < router_info.patch
> 
> it successfully patched file but python i need to compile it in pyo &
> pyc extension right?
> 
> When i tried to do i got this error
> 
> [root@compute-1 tmp]# python -O -m compileall router_info.py
> Compiling router_info.py ...
> Sorry: IndentationError: expected an indented block (router_info.py, line 342)
> 
> I have checked all space/tabs etc but not able to find anything :(
> 
> here is the patched file in pastebin http://pastebin.com/JdF1d8rN
> (see 342 line)
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : [email protected]
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to