commit_msg declared but never used
Change-Id: I68d75c9e2f7209eaade5ac245025bb4d70112e42
This commit is contained in:
@@ -104,7 +104,7 @@ def set_hooks_commit_msg():
|
|||||||
if not os.path.exists(target_file) or UPDATE:
|
if not os.path.exists(target_file) or UPDATE:
|
||||||
if VERBOSE:
|
if VERBOSE:
|
||||||
print "Fetching source_location: ", source_location
|
print "Fetching source_location: ", source_location
|
||||||
commit_msg = urllib.urlretrieve(source_location, target_file)
|
urllib.urlretrieve(source_location, target_file)
|
||||||
|
|
||||||
if not os.access(target_file, os.X_OK):
|
if not os.access(target_file, os.X_OK):
|
||||||
os.chmod(target_file, os.path.stat.S_IREAD | os.path.stat.S_IEXEC)
|
os.chmod(target_file, os.path.stat.S_IREAD | os.path.stat.S_IEXEC)
|
||||||
|
Reference in New Issue
Block a user