Corrections.

darcs-hash:20080209020948-af139-3a259bbab9d382b1c72a5d3087e47641b1f87417.gz
This commit is contained in:
Jeremie Dimino 2008-02-09 03:09:48 +01:00
parent aa9724e031
commit 5d6f9722bb
2 changed files with 8 additions and 8 deletions

View file

@ -26,16 +26,16 @@ sys.path.append('/usr/scripts/gestion')
def comment(line):
'''Écrit un commentaire'''
out(comment_start + " " + line + "\n")
out("# " + line + "\n")
emacs_mode = "conf-unix"
def header(desc=None, mode=None):
'''Écrit une en-tête de fichier avec un commentaire'''
comment("-*- mode: %s; coding: utf-8 -*-" % (mode or emacs_mode))
comment("")
comment("Fichier gere par BCfg2 (avec le plugin Python)")
comment("")
@#
@# Fichier gere par BCfg2
@#
if desc:
lines = desc.split('\n')
if lines[-1] == "":