Index: tools/publish_all_pkgs.py |
diff --git a/tools/publish_all_pkgs.py b/tools/publish_all_pkgs.py |
index 81aab97e4d44944103b68dfa5dae594a01c90255..a43f57b16136ce6bb9d5bc254ed6450f1894a060 100644 |
--- a/tools/publish_all_pkgs.py |
+++ b/tools/publish_all_pkgs.py |
@@ -17,11 +17,13 @@ import os.path |
import subprocess |
import sys |
+BLACK_LISTED_DIRECTORIES = ['.svn', 'async_helper', 'expect', 'third_party']; |
+ |
def Main(argv): |
for pkgdir in ['pkg', 'pkg/third_party']: |
for name in os.listdir(pkgdir): |
if os.path.isdir(os.path.join(pkgdir, name)): |
- if (name != '.svn' and name != 'expect' and name != 'third_party'): |
+ if name not in BLACK_LISTED_DIRECTORIES: |
pkgs_to_publish.append(os.path.join(pkgdir, name)) |
for pkg in pkgs_to_publish: |