Revert "CSIT-986: Use MLRsearch from pip"
[csit.git] / resources / libraries / python / Routing.py
index f72d211..e6485ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2016 Cisco and/or its affiliates.
+# Copyright (c) 2018 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -38,7 +38,7 @@ class Routing(object):
         :param resolve_attempts: Resolve attempts IP route add parameter.
         :param count: number of IP addresses to add starting from network IP
         :param local: The route is local
-        with same prefix (increment is 1). If None, then is not used.
+            with same prefix (increment is 1). If None, then is not used.
         :param lookup_vrf: VRF table ID for lookup.
         :param multipath: Enable multipath routing.
         :param weight: Weight value for unequal cost multipath routing.
@@ -59,7 +59,8 @@ class Routing(object):
         if interface:
             if use_sw_index:
                 int_cmd = ('sw_if_index {}'.
-                           format(Topology.get_interface_sw_index(node, interface)))
+                           format(Topology.get_interface_sw_index(node,
+                                                                  interface)))
             else:
                 int_cmd = interface
         else: