From ff2b21926da6c791532b1d0a8bd8743ed1d05c63 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 21 Sep 2018 19:46:37 +0800 Subject: [PATCH] 1 --- gitlab/githelper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab/githelper.py b/gitlab/githelper.py index 26bf3be..ac52ab5 100644 --- a/gitlab/githelper.py +++ b/gitlab/githelper.py @@ -18,8 +18,8 @@ for proj in projects: http_url_to_repo = proj['http_url_to_repo'] name = proj['name'] path = proj['namespace']['path'] -# if path != 'publish' or not ('game1008' in name): -# continue + if path != 'publish': + continue if not os.path.exists('repository/%s' % path): os.mkdir('repository/%s' % (path)) if not os.path.exists('repository/%s/%s' % (path, name)):