diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-03-15 15:58:53 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-03-20 17:19:18 +0100 |
commit | 5e710e5dc4e5b45cc763994dba89344cd89da668 (patch) | |
tree | 44553a88ebba7f8c2588b375ef6ffff2731b8000 /recipes/docbook-xsl.recipe | |
parent | 34f37bc15e5dbb2c0a2700128456e5c157aa6b05 (diff) |
Add recipes' syntax hints for vim and emacs
Diffstat (limited to 'recipes/docbook-xsl.recipe')
-rw-r--r-- | recipes/docbook-xsl.recipe | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/docbook-xsl.recipe b/recipes/docbook-xsl.recipe index 5824fd52..edf0f53f 100644 --- a/recipes/docbook-xsl.recipe +++ b/recipes/docbook-xsl.recipe @@ -1,4 +1,4 @@ -from cerbero import recipe +# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): name = 'docbook-xsl' @@ -22,8 +22,8 @@ class Recipe(recipe.Recipe): lines = [''] return ''.join(lines) - etc_catalog_lines = read_catalog(etc_catalog_path) - new_catalog_lines = read_catalog(new_catalog_path) + etc_catalog_lines = read_catalog(etc_catalog_path) + new_catalog_lines = read_catalog(new_catalog_path) if new_catalog_lines in etc_catalog_lines: return with open(etc_catalog_path, 'w') as f: |