]> 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>
Mon, 12 Dec 2016 15:16:12 +0000 (15:16 +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

Signed-off-by: Juro Bystricky <juro.bystricky@intel.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',