Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Also look for a COPYING file

  • Loading branch information...
commit af9948cb9a01a8fd6298a8ea84e9fb5ace993310 1 parent ba124a0
@kyleconroy authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  tests/test_gitlicense.py
  2. +1 −1  web.py
View
3  tests/test_gitlicense.py
@@ -3,7 +3,8 @@
def test_license_files():
- for path in ["license.txt", "LICENSE", "LICENSE.txt", "MIT-LICENSE"]:
+ for path in ["copying", "license.txt", "LICENSE",
+ "LICENSE.txt", "MIT-LICENSE"]:
yield check_license, path
View
2  web.py
@@ -37,7 +37,7 @@
]
def is_license(path):
- return "license" in path.lower()
+ return "copying" in path.lower() or "license" in path.lower()
def get_branch(repo, branches):
Please sign in to comment.
Something went wrong with that request. Please try again.