Skip to content

Commit

Permalink
Merge pull request #65 from dabercro/pass-echo
Browse files Browse the repository at this point in the history
Pass _ECHO in site name check
  • Loading branch information
Daniel Abercrombie authored Apr 26, 2018
2 parents 24b0da5 + df99627 commit f605a6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
language: python
cache: pip
addons:
apt:
sources: debian-sid
packages: shellcheck
# IPv6 isn't working. Disable for now
#addons:
# apt:
# sources: debian-sid
# packages: shellcheck
matrix:
include:
- python: 2.6
Expand Down
2 changes: 1 addition & 1 deletion CMSToolBox/workflowinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def site_to_run(self, task):
all_site_list = site_list()

for site in site_set:
clean_site = re.sub(r'_(Disk|MSS)$', '', site)
clean_site = re.sub(r'_(ECHO_)?(Disk|MSS)$', '', site)
if clean_site not in out_list and clean_site and \
clean_site in all_site_list:
out_list.append(clean_site)
Expand Down

0 comments on commit f605a6e

Please sign in to comment.