Permalink
Browse files

Also look for a COPYING file

  • Loading branch information...
1 parent ba124a0 commit af9948cb9a01a8fd6298a8ea84e9fb5ace993310 @kyleconroy kyleconroy committed Apr 5, 2012
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):

0 comments on commit af9948c

Please sign in to comment.