projects
/
swc-workshop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda4578
)
swc-installation-test-2.py: Break after first successful or-dependency
author
W. Trevor King
<wking@tremily.us>
Tue, 1 Jan 2013 12:45:03 +0000
(07:45 -0500)
committer
W. Trevor King
<wking@tremily.us>
Tue, 1 Jan 2013 14:49:48 +0000
(09:49 -0500)
No need to test the other dependencies once you find one that matches.
swc-installation-test-2.py
patch
|
blob
|
history
diff --git
a/swc-installation-test-2.py
b/swc-installation-test-2.py
index 15125ee75f90095547cde57a8dc1e9e2d5dfc023..61c7e664445469e8a1f5f41f8cc2bbf17bd413c1 100755
(executable)
--- a/
swc-installation-test-2.py
+++ b/
swc-installation-test-2.py
@@
-182,6
+182,7
@@
class Dependency (object):
'dependency': dependency,
'version': version,
}
+ break # no need to test other dependencies
if self.or_dependencies and not self.or_pass:
raise or_error