summaryrefslogtreecommitdiff
path: root/absl/copts/generate_copts.py
diff options
context:
space:
mode:
Diffstat (limited to 'absl/copts/generate_copts.py')
-rwxr-xr-xabsl/copts/generate_copts.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/copts/generate_copts.py b/absl/copts/generate_copts.py
index 28b677e0..0e5dc9fa 100755
--- a/absl/copts/generate_copts.py
+++ b/absl/copts/generate_copts.py
@@ -70,8 +70,9 @@ class StarlarkStyle(object):
return "GENERATED_copts.bzl"
-# Copt file generation
def copt_list(name, arg_list, style):
+ """Copt file generation."""
+
make_line = lambda s: " \"" + s + "\"" + style.separator()
external_str_list = [make_line(s) for s in arg_list]