On Tue, 8 Oct 2013 15:29:33 +0900 YAMAMOTO Takashi <[email protected]> wrote:
> Signed-off-by: YAMAMOTO Takashi <[email protected]> > --- > ryu/lib/packet/bgp.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py > index 7e4d48a..7d09c92 100644 > --- a/ryu/lib/packet/bgp.py > +++ b/ryu/lib/packet/bgp.py > @@ -208,7 +208,7 @@ class _PathAttribute(StringifyMixin): > # fixup > if not self._ATTR_FLAGS is None: > self.flags = self.flags \ > - & ~(BGP_ATTR_FLAG_OPTIONAL|BGP_ATTR_FLAG_TRANSITIVE) \ > + & ~(BGP_ATTR_FLAG_OPTIONAL | BGP_ATTR_FLAG_TRANSITIVE) \ > | self._ATTR_FLAGS > value = self.serialize_value() > self.length = len(value) Please avoid pep8 warned code at the first place. Applied all. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
