]> git.sur5r.net Git - u-boot/blobdiff - tools/patman/get_maintainer.py
Merge git://git.denx.de/u-boot-x86
[u-boot] / tools / patman / get_maintainer.py
index 00b49394bc5ef87ca72c2075546c330a883cb8c7..0ffb55a8219ffbcc886b086ffdff0bcad61fd74a 100644 (file)
@@ -1,7 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+
 # Copyright (c) 2012 The Chromium OS Authors.
 #
-# SPDX-License-Identifier:     GPL-2.0+
-#
 
 import command
 import gitutil
@@ -40,8 +39,9 @@ def GetMaintainer(fname, verbose=False):
     get_maintainer = FindGetMaintainer()
     if not get_maintainer:
         if verbose:
-            print "WARNING: Couldn't find get_maintainer.pl"
+            print("WARNING: Couldn't find get_maintainer.pl")
         return []
 
     stdout = command.Output(get_maintainer, '--norolestats', fname)
-    return stdout.splitlines()
+    lines = stdout.splitlines()
+    return [ x.replace('"', '') for x in lines ]