]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
edgerouter.py: avoid python3 exception
authorJuro Bystricky <juro.bystricky@intel.com>
Sat, 10 Dec 2016 17:13:38 +0000 (09:13 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2017 17:21:47 +0000 (17:21 +0000)
This fixes an error such as:

Exception: File "/master/poky/meta-yocto-bsp/lib/oeqa/controllers/edgeroutertarget.py", line 47
    self.image_fstype = self.get_image_fstype(d)
TabError: inconsistent use of tabs and spaces in indentation

(From meta-yocto rev: 5ff5dc2767dfef93c314e7465a52ca2dce553604)

(From meta-yocto rev: d1c50ea67f53b5fa2618b460efe4cc879d7cee0c)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto-bsp/lib/oeqa/controllers/edgeroutertarget.py

index b3338ca85956225ce465d548826146cfd0651d6c..9c47b5b044ad35e8c340d5d0a60767202c34327d 100644 (file)
@@ -44,7 +44,7 @@ class EdgeRouterTarget(MasterImageHardwareTarget):
     def __init__(self, d):
         super(EdgeRouterTarget, self).__init__(d)
 
-       self.image_fstype = self.get_image_fstype(d)
+        self.image_fstype = self.get_image_fstype(d)
         self.deploy_cmds = [
                 'mount -L boot /boot',
                 'mkdir -p /mnt/testrootfs',