]> Savannah Git Hosting - gnulib.git/commitdiff
pygnulib.py: simplify prefix table
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 22 Oct 2017 09:21:41 +0000 (12:21 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 22 Oct 2017 09:21:41 +0000 (12:21 +0300)
pygnulib.py

index ead918e0ba3126573dc7916394285521c7928845..786cbe4652684bddfc41395b7a60c10f5d405db1 100755 (executable)
@@ -162,9 +162,8 @@ def import_hook(script, gnulib, namespace, verbosity, options, *args, **kwargs):
         "tests": config.tests_base,
         "tests=lib": config.tests_base,
         "po": config.po_base,
+        "top": "",
     }
-    table = {k:v for k,v in table.items() if v}
-    table["top"] = ""
     project = ProjectVFS(config.root, **table)
     local = BaseVFS(config.local, **table)
     for prefix in table: