Skip to content

Commit

Permalink
fix bsd-license check script
Browse files Browse the repository at this point in the history
Not all Copyright is (1.) from 2011 and (2.) by Willow Garage

autofix is undefined if ECTO_LICENSE_AUTOFIX is not exported.
  • Loading branch information
v4hn committed Sep 7, 2015
1 parent e5def22 commit be3a0a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/compile/check_new_bsd_license.py
Expand Up @@ -3,9 +3,6 @@
import sys

bsd = '''
Copyright (c) 2011, Willow Garage, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
Expand Down Expand Up @@ -36,6 +33,7 @@

import os

autofix = False
if "ECTO_LICENSE_AUTOFIX" in os.environ:
autofix = True

Expand Down

0 comments on commit be3a0a6

Please sign in to comment.