Skip to content

Commit fa8a1be

Browse files
Famlamfrodrigo
authored andcommitted
Add warning to the generated files
1 parent af375e0 commit fa8a1be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mapcss/mapcss2osmose.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,10 @@ class father:
980980
981981
982982
class """ + prefix + class_name + """(PluginMapCSS):
983+
# ------------------------------- IMPORTANT -------------------------------
984+
# This file is generated automatically and should not be modified directly.
985+
# Instead, modify the source mapcss file and regenerate this Python script.
986+
# -------------------------------------------------------------------------
983987
""" + ("\n MAPCSS_URL = '" + mapcss_url + "'" if mapcss_url else "") + """
984988
""" + ("\n only_for = ['" + "', '".join(only_for) + "']\n" if only_for != [] else "") + """
985989
""" + ("\n not_for = ['" + "', '".join(not_for) + "']\n" if not_for != [] else "") + """

0 commit comments

Comments
 (0)