Title: [266456] trunk/Tools
Revision
266456
Author
dp...@igalia.com
Date
2020-09-02 07:42:54 -0700 (Wed, 02 Sep 2020)

Log Message

Unreviewed. Follow-up r266450, fix script due to missing variable.

* Scripts/clean-webkit:
(removeFiles): Add missing argument 'fs'.
(main):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (266455 => 266456)


--- trunk/Tools/ChangeLog	2020-09-02 13:29:55 UTC (rev 266455)
+++ trunk/Tools/ChangeLog	2020-09-02 14:42:54 UTC (rev 266456)
@@ -1,3 +1,11 @@
+2020-09-02  Diego Pino Garcia  <dp...@igalia.com>
+
+        Unreviewed. Follow-up r266450, fix script due to missing variable.
+
+        * Scripts/clean-webkit:
+        (removeFiles): Add missing argument 'fs'.
+        (main):
+
 2020-09-02  Philippe Normand  <pnorm...@igalia.com>
 
         [Flatpak SDK] Update to FDO 20.08

Modified: trunk/Tools/Scripts/clean-webkit (266455 => 266456)


--- trunk/Tools/Scripts/clean-webkit	2020-09-02 13:29:55 UTC (rev 266455)
+++ trunk/Tools/Scripts/clean-webkit	2020-09-02 14:42:54 UTC (rev 266456)
@@ -46,7 +46,7 @@
             ret.append(build_path)
     return ret
 
-def removeFiles(l):
+def removeFiles(fs, l):
     for each in l:
         if fs.isdir(each):
             fs.rmtree(each)
@@ -67,7 +67,7 @@
             files = listWebKitBuildFiles(fs)
             keepDirs = usesFlatpak() and ["Toolchains", "UserFlatpak"] or ["DependenciesGTK", "DependenciesWPE"]
             files = filter(lambda path: path[len("WebKitBuild/"):] not in keepDirs, files)
-            removeFiles(files)
+            removeFiles(fs, files)
     else:
         scm.discard_untracked_files(discard_ignored_files=True)
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to