]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
pygrub: change tabs into spaces
authorWei Liu <wei.liu2@citrix.com>
Mon, 11 Mar 2019 12:55:29 +0000 (12:55 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 12 Mar 2019 14:24:52 +0000 (14:24 +0000)
Not sure why Python 2 never complained, but Python 3 does.

Change tabs to spaces.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/pygrub/src/pygrub

index 52a8965ad97fac2d5180e83aac8d742a31d0884d..1189b1ca48452c9d72d683cde31d22c0f95f6a54 100755 (executable)
@@ -858,7 +858,7 @@ if __name__ == "__main__":
             output_directory = a
 
     if debug:
-       logging.basicConfig(level=logging.DEBUG)
+        logging.basicConfig(level=logging.DEBUG)
 
 
     try:
@@ -917,7 +917,7 @@ if __name__ == "__main__":
             # IOErrors raised by fsimage.open
             # RuntimeErrors raised by run_grub if no menu.lst present
             if debug:
-               traceback.print_exc()
+                traceback.print_exc()
             fs = None
             continue